fs sandcastle hack

main
Brett 2023-10-26 19:55:47 -04:00
parent 3673289ad2
commit ef1c39036b
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ target_link_libraries(insane_dns BLT)
if(THREADS_HAVE_PTHREAD_ARG)
# annoying hack for asio on sandcastle
set_property(TARGET insane_dns PROPERTY COMPILE_OPTIONS "-pthread")
set_property(TARGET insane_dns PROPERTY INTERFACE_COMPILE_OPTIONS "-pthread")
set_property(TARGET insane_dns PROPERTY COMPILE_OPTIONS "-pthread -lstdc++fs")
set_property(TARGET insane_dns PROPERTY INTERFACE_COMPILE_OPTIONS "-pthread -lstdc++fs")
endif()
if(CMAKE_THREAD_LIBS_INIT)
target_link_libraries(insane_dns "${CMAKE_THREAD_LIBS_INIT}")