From a8b66a16ba4e0d540ee1040afe9f899fa2a338b2 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 16 Feb 2024 00:15:43 -0500 Subject: [PATCH] sexy sexy --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dbd6d9..048c0ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,7 @@ target_compile_options(Assignment_1 PRIVATE -Wall -Wextra -Wpedantic -Wno-commen target_link_options(Assignment_1 PRIVATE -Wall -Wextra -Wpedantic -Wno-comment) target_link_libraries(Assignment_1 PUBLIC m) target_link_libraries(Assignment_1 PUBLIC pthread) +target_link_libraries(Assignment_1 PUBLIC stdc++fs) if (${ENABLE_ADDRSAN} MATCHES ON) target_compile_options(Assignment_1 PRIVATE -fsanitize=address) @@ -72,6 +73,7 @@ target_link_libraries(Assignment_1_RUNNER PUBLIC pthread) target_include_directories(Assignment_1_RUNNER PUBLIC RUNNER) target_compile_options(Assignment_1_RUNNER PRIVATE -Wall -Wextra -Wpedantic -Wno-comment) target_link_options(Assignment_1_RUNNER PRIVATE -Wall -Wextra -Wpedantic -Wno-comment) +target_link_libraries(Assignment_1_RUNNER PUBLIC stdc++fs) add_dependencies(Assignment_1_RUNNER Assignment_1) if (${ENABLE_ADDRSAN} MATCHES ON)