fs sandcastle hack
parent
3673289ad2
commit
ef1c39036b
|
@ -28,8 +28,8 @@ target_link_libraries(insane_dns BLT)
|
||||||
|
|
||||||
if(THREADS_HAVE_PTHREAD_ARG)
|
if(THREADS_HAVE_PTHREAD_ARG)
|
||||||
# annoying hack for asio on sandcastle
|
# annoying hack for asio on sandcastle
|
||||||
set_property(TARGET insane_dns PROPERTY COMPILE_OPTIONS "-pthread")
|
set_property(TARGET insane_dns PROPERTY COMPILE_OPTIONS "-pthread -lstdc++fs")
|
||||||
set_property(TARGET insane_dns PROPERTY INTERFACE_COMPILE_OPTIONS "-pthread")
|
set_property(TARGET insane_dns PROPERTY INTERFACE_COMPILE_OPTIONS "-pthread -lstdc++fs")
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_THREAD_LIBS_INIT)
|
if(CMAKE_THREAD_LIBS_INIT)
|
||||||
target_link_libraries(insane_dns "${CMAKE_THREAD_LIBS_INIT}")
|
target_link_libraries(insane_dns "${CMAKE_THREAD_LIBS_INIT}")
|
||||||
|
|
Loading…
Reference in New Issue