From 5728046d65486b8c45e74981152a4b76c8750b2e Mon Sep 17 00:00:00 2001 From: JackCarterSmith Date: Sat, 30 Jul 2022 09:58:56 +0200 Subject: [PATCH] Forgotten math lib linking --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b75ccd9..7aabf86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,11 @@ if(MSVC) #set_target_properties(rse-model PROPERTIES PREFIX "lib") set_target_properties(rse-model PROPERTIES IMPORT_PREFIX "lib") endif() -target_link_libraries(rse-model) +if(MSVC) + target_link_libraries(rse-model) +else() + target_link_libraries(rse-model m) +endif() # add GPG signature command #add_custom_command(