Parcourir la source

Merge pull request #2722 from jherico/patch-1

Fix CMake import
Kim Kulling il y a 5 ans
Parent
commit
3a484d879f
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      assimpTargets.cmake.in

+ 3 - 0
assimpTargets.cmake.in

@@ -5,6 +5,9 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
 endif()
 endif()
 cmake_policy(PUSH)
 cmake_policy(PUSH)
 cmake_policy(VERSION 2.6)
 cmake_policy(VERSION 2.6)
+# Required for the evaluation of "if(@BUILD_SHARED_LIBS@)" below to function
+cmake_policy(SET CMP0012 NEW)
+
 #----------------------------------------------------------------
 #----------------------------------------------------------------
 # Generated CMake target import file.
 # Generated CMake target import file.
 #----------------------------------------------------------------
 #----------------------------------------------------------------