Skip to content
Permalink
Browse files

use CMP0063 only with cmake >= 3.3

  • Loading branch information
jef-n committed Jun 11, 2016
1 parent 8727799 commit 1af74f7acef8163f731c1e85f9d822db21730032
Showing with 3 additions and 1 deletion.
  1. +3 −1 CMakeLists.txt
@@ -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)

0 comments on commit 1af74f7

Please sign in to comment.
You can’t perform that action at this time.