Petite correction

This commit is contained in:
Pcornat 2021-03-11 17:41:48 +01:00
parent 2fad0776ce
commit 5d4a3a85cc
No known key found for this signature in database
GPG Key ID: 873C3ACCF970C74E
1 changed files with 2 additions and 3 deletions

View File

@ -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)
target_link_libraries(GTA_SA_cheat ${LINKER_FLAGS} ${Boost_LIBRARIES} frozen)