From 68f6a0af44fe8ba5044a7f37b8bac9809ab709f1 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 16 Feb 2024 00:23:11 -0500 Subject: [PATCH] whoops --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fcdd438..a59d4d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,12 +85,13 @@ message("Current Source: ${CMAKE_CURRENT_SOURCE_DIR}") add_library(${BLT_TARGET} ${STD_FILES} ${PROFILING_FILES} ${FS_FILES} ${PARSE_FILES}) +if(${ZLIB_FOUND}) + target_link_libraries(${BLT_TARGET} PUBLIC ZLIB::ZLIB) +endif() +target_link_libraries(${BLT_TARGET} PUBLIC stdc++fs) + target_include_directories(${BLT_TARGET} PUBLIC include/) target_include_directories(${BLT_TARGET} PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/config/) -target_include_directories(${BLT_TARGET} PUBLIC stdc++fs) -if(${ZLIB_FOUND}) - target_link_libraries(${BLT_TARGET} PUBLIC ZLIB::ZLIB) -endif() if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/libraries/parallel-hashmap) message("Including phmap") target_include_directories(${BLT_TARGET} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/libraries/parallel-hashmap)