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