From 5d4a3a85cc7e6bc247751a1390a631db1a1ff721 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Thu, 11 Mar 2021 17:41:48 +0100 Subject: [PATCH] Petite correction --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e75c24..3d6c7b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,6 @@ set(LINKER_OPTIONS set(LINKER_FLAGS jemalloc - ${Boost_LIBRARIES} OpenMP::OpenMP_CXX ) @@ -54,10 +53,10 @@ add_subdirectory(external/frozen EXCLUDE_FROM_ALL) target_compile_definitions(frozen INTERFACE ${COMPILE_DEFINITIONS}) target_compile_options(frozen INTERFACE ${COMPILE_FLAGS}) target_link_options(frozen INTERFACE ${LINKER_OPTIONS}) -target_link_libraries(frozen ${Boost_LIBRARIES}) +target_link_libraries(frozen INTERFACE ${Boost_LIBRARIES} jemalloc) add_executable(GTA_SA_cheat main.cpp) target_compile_definitions(GTA_SA_cheat PRIVATE ${COMPILE_DEFINITIONS}) target_compile_options(GTA_SA_cheat PRIVATE ${COMPILE_FLAGS}) target_link_options(GTA_SA_cheat PRIVATE ${LINKER_OPTIONS}) -target_link_libraries(GTA_SA_cheat ${Boost_LIBRARIES} frozen) \ No newline at end of file +target_link_libraries(GTA_SA_cheat ${LINKER_FLAGS} ${Boost_LIBRARIES} frozen) \ No newline at end of file