mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 10:42:35 +02:00
only set the policy if it exists
This commit is contained in:
parent
2796f71419
commit
21229f22a7
1 changed files with 11 additions and 3 deletions
|
@ -4,8 +4,16 @@ if (WIN32)
|
|||
cmake_policy(SET CMP0020 NEW)
|
||||
endif (WIN32)
|
||||
|
||||
cmake_policy(SET CMP0028 OLD)
|
||||
cmake_policy(SET CMP0043 OLD)
|
||||
if (POLICY CMP0028)
|
||||
cmake_policy(SET CMP0028 OLD)
|
||||
endif ()
|
||||
|
||||
if (POLICY CMP0043)
|
||||
cmake_policy(SET CMP0043 OLD)
|
||||
endif ()
|
||||
|
||||
|
||||
|
||||
|
||||
project(hifi)
|
||||
add_definitions(-DGLM_FORCE_RADIANS)
|
||||
|
@ -42,7 +50,7 @@ set(CMAKE_AUTOMOC ON)
|
|||
# targets not supported on windows
|
||||
if (NOT WIN32)
|
||||
add_subdirectory(animation-server)
|
||||
endif (NOT WIN32)
|
||||
endif ()
|
||||
|
||||
# targets on all platforms
|
||||
add_subdirectory(assignment-client)
|
||||
|
|
Loading…
Reference in a new issue