Merge branch 'develop' into example

This commit is contained in:
Jonathan Thomas
2019-04-16 16:33:16 -05:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -30,10 +30,10 @@ FIND_PACKAGE(SWIG 2.0 REQUIRED)
INCLUDE(${SWIG_USE_FILE})
### Enable some legacy SWIG behaviors, in newer CMAKEs
if (CMAKE_VERSION VERSION_GREATER 3.13)
if (POLICY CMP0078)
cmake_policy(SET CMP0078 OLD)
endif()
if (CMAKE_VERSION VERSION_GREATER 3.14)
if (POLICY CMP0086)
cmake_policy(SET CMP0086 OLD)
endif()

View File

@@ -30,10 +30,10 @@ FIND_PACKAGE(SWIG 2.0 REQUIRED)
INCLUDE(${SWIG_USE_FILE})
### Enable some legacy SWIG behaviors, in newer CMAKEs
if (CMAKE_VERSION VERSION_GREATER 3.13)
if (POLICY CMP0078)
cmake_policy(SET CMP0078 OLD)
endif()
if (CMAKE_VERSION VERSION_GREATER 3.14)
if (POLICY CMP0086)
cmake_policy(SET CMP0086 OLD)
endif()