aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-22 14:50:55 -0800
committerChris Robinson <[email protected]>2016-11-22 14:50:55 -0800
commit49fd154829604cbe050e51694aa4932a6e00609d (patch)
treee9b7a1fc82e19d95a45f20b140165e264a849119 /CMakeLists.txt
parent8492c2845d805c540c115ca8c8efc552dbf2db0c (diff)
Update cmake scripts to handle policy 0054
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dd51d48..6ec81aed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,6 +10,9 @@ IF(COMMAND CMAKE_POLICY)
IF(POLICY CMP0042)
CMAKE_POLICY(SET CMP0042 NEW)
ENDIF(POLICY CMP0042)
+ IF(POLICY CMP0054)
+ CMAKE_POLICY(SET CMP0054 NEW)
+ ENDIF(POLICY CMP0054)
ENDIF(COMMAND CMAKE_POLICY)
SET(CMAKE_MODULE_PATH "${OpenAL_SOURCE_DIR}/cmake")