summaryrefslogtreecommitdiffstats
path: root/data/ShibokenConfig-spec.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/ShibokenConfig-spec.cmake.in')
-rw-r--r--data/ShibokenConfig-spec.cmake.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/data/ShibokenConfig-spec.cmake.in b/data/ShibokenConfig-spec.cmake.in
index 6e037282..74c5f4e5 100644
--- a/data/ShibokenConfig-spec.cmake.in
+++ b/data/ShibokenConfig-spec.cmake.in
@@ -21,11 +21,4 @@ SET(SHIBOKEN_PYTHON_BASENAME "@PYTHON_BASENAME@")
message(STATUS "libshiboken built for @SHIBOKEN_BUILD_TYPE@")
@SBK_ADD_PY_DEBUG_DEFINITION@
-# We don't use just "if (@AVOID_PROTECTED_HACK@)" to avoid require all users to turn on the cmake policy CMP0012
-# for more info type: cmake --help-policy CMP0012
-set(SHIBOKEN_AVOID_PROTECTED_HACK @AVOID_PROTECTED_HACK@)
-if (SHIBOKEN_AVOID_PROTECTED_HACK)
- add_definitions(-DAVOID_PROTECTED_HACK)
- message(STATUS "Avoiding protected hack!")
-endif()
set(SHIBOKEN_BINARY "@CMAKE_INSTALL_PREFIX@/bin/@SHIBOKEN_GENERATOR@")