From ef1c39036b41edf8d3e69721b0debbda99443c36 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 26 Oct 2023 19:55:47 -0400 Subject: [PATCH] fs sandcastle hack --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index deca1ca..be84415 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")