[Orxonox-commit 6424] r11081 - code/trunk/cmake

landauf at orxonox.net landauf at orxonox.net
Wed Jan 20 22:56:27 CET 2016


Author: landauf
Date: 2016-01-20 22:56:27 +0100 (Wed, 20 Jan 2016)
New Revision: 11081

Modified:
   code/trunk/cmake/CompilerConfig.cmake
Log:
fixed cmake script (cmake version 3.3.2)

Modified: code/trunk/cmake/CompilerConfig.cmake
===================================================================
--- code/trunk/cmake/CompilerConfig.cmake	2016-01-19 22:27:40 UTC (rev 11080)
+++ code/trunk/cmake/CompilerConfig.cmake	2016-01-20 21:56:27 UTC (rev 11081)
@@ -26,11 +26,11 @@
 OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)" FALSE)
 
 # Configure the compiler specific build options
-IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
+IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
   INCLUDE(CompilerConfigGCC)
-ELSEIF("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
+ELSEIF(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
   INCLUDE(CompilerConfigMSVC)
-ELSEIF("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
+ELSEIF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
   INCLUDE(CompilerConfigClang)
 ELSE()
   MESSAGE(STATUS "Warning: Your compiler is not officially supported.")




More information about the Orxonox-commit mailing list