mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-29 14:51:05 +00:00
Merge pull request #1180 from davidgyu/dev_cmp0054_warning_fix
Fixed CMP0054 warnings in top-level CMakeLists.txt
This commit is contained in:
commit
6339ac5c43
@ -125,9 +125,9 @@ if (CMAKE_COMPILER_IS_GNUCC)
|
||||
endif()
|
||||
|
||||
# Detect Clang (until a cmake version provides built-in variables)
|
||||
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
||||
if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
|
||||
set(CMAKE_COMPILER_IS_CLANGCC 1)
|
||||
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")
|
||||
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Intel")
|
||||
set(CMAKE_COMPILER_IS_ICC 1)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user