mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 02:47:49 +08:00
14 lines
566 B
Diff
14 lines
566 B
Diff
|
diff --git a/assimpTargets.cmake.in b/assimpTargets.cmake.in
|
||
|
index ab1a8d2c..4b0729be 100644
|
||
|
--- a/assimpTargets.cmake.in
|
||
|
+++ b/assimpTargets.cmake.in
|
||
|
@@ -5,6 +5,8 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
|
||
|
endif()
|
||
|
cmake_policy(PUSH)
|
||
|
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.
|
||
|
#----------------------------------------------------------------
|