Use STREQUAL for strings
authorhristov <Peter.Hristov@cern.ch>
Mon, 15 Dec 2014 21:25:18 +0000 (22:25 +0100)
committerhristov <Peter.Hristov@cern.ch>
Mon, 15 Dec 2014 21:25:18 +0000 (22:25 +0100)
CMakeLists.txt

index 023ba82..253f0ed 100644 (file)
@@ -56,9 +56,9 @@ include(CheckGitVersion)
 include(CheckCompiler)
 
 # Shared library suffix
-if (NOT CMAKE_SYSTEM_NAME EQUAL Windows)
+if (NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
   set(CMAKE_SHARED_LIBRARY_SUFFIX .so)
-endif (NOT CMAKE_SYSTEM_NAME EQUAL Windows)
+endif (NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
 
 # ROOT dictionaries and maps
 include(CMakeALICE)