Skip to content

Commit

Permalink
use CMP0063 only with cmake >= 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 11, 2016
1 parent 8727799 commit 1af74f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -612,7 +612,9 @@ ENDIF (ANDROID)
IF(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
cmake_policy(SET CMP0005 OLD)
cmake_policy(SET CMP0063 NEW)
IF(NOT "${CMAKE_VERSION}" VERSION_LESS "3.3")
cmake_policy(SET CMP0063 NEW)
ENDIF(NOT "${CMAKE_VERSION}" VERSION_LESS "3.3")
ENDIF(COMMAND cmake_policy)

IF (WIN32)
Expand Down

0 comments on commit 1af74f7

Please sign in to comment.