From a089f4c7478122b60874ece7a99cd65736087bb9 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sat, 5 Mar 2016 22:48:05 +0100 Subject: [PATCH] Fix CMake support --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 77fb1a7..b630a34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if(NOT CMAKE_BUILD_TYPE) endif(NOT CMAKE_BUILD_TYPE) # CMake project configuration -project(yquake2-xatrix) +project(yquake2-ctf) # Enforce compiler flags (GCC / Clang compatible, yquake2 # won't build with another compiler anyways) @@ -20,9 +20,9 @@ string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") # Linker Flags if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - list(APPEND XatrixLinkerFlags "-lm") + list(APPEND CtfLinkerFlags "-lm") else() - list(APPEND XatrixLinkerFlags "-lm -rdynamic") + list(APPEND CtfLinkerFlags "-lm -rdynamic") endif() set(Ctf-Source