fix cmake warning when both old and new opengl libraries are available

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7231 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
iobyte 2020-12-03 18:35:19 +00:00
parent 54ff74d566
commit 70239f421d
1 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,10 @@ IF(POLICY CMP0066)
CMAKE_POLICY(SET CMP0066 NEW)
ENDIF(POLICY CMP0066)
IF(POLICY CMP0072)
CMAKE_POLICY(SET CMP0072 NEW)
ENDIF(POLICY CMP0072)
# Speed Dreams project
PROJECT(speed-dreams-2)
@ -186,4 +190,4 @@ IF(OPTION_PACKAGING)
ELSE(OPTION_PACKAGING)
# Configure CPack.
INCLUDE(CPack)
ENDIF(OPTION_PACKAGING)
ENDIF(OPTION_PACKAGING)