Removed quoted variables to avoid CMP0054 policy warnings on CMake 3.3.0.

This commit is contained in:
Rodrigo Hernandez
2016-01-26 11:45:00 -06:00
committed by Jesse Beder
parent 005a6a19ee
commit 57805dfd6a
2 changed files with 4 additions and 4 deletions

View File

@@ -148,8 +148,8 @@ if(WIN32)
endif()
# GCC or Clang specialities
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" OR
"${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR
CMAKE_CXX_COMPILER_ID MATCHES "Clang")
### General stuff
if(WIN32)
set(CMAKE_SHARED_LIBRARY_PREFIX "") # DLLs do not have a "lib" prefix