mirror of https://github.com/AxioDL/kabufuda.git
Link rt for AIO on Linux
This commit is contained in:
parent
b63f7c6401
commit
4ee594d0fd
|
@ -53,6 +53,9 @@ else()
|
||||||
target_sources(kabufuda PRIVATE
|
target_sources(kabufuda PRIVATE
|
||||||
lib/kabufuda/AsyncIOPosix.cpp
|
lib/kabufuda/AsyncIOPosix.cpp
|
||||||
)
|
)
|
||||||
|
if(NOT APPLE)
|
||||||
|
target_link_libraries(kabufuda PUBLIC rt)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(kabufuda PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
|
target_include_directories(kabufuda PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
|
||||||
|
|
Loading…
Reference in New Issue