opnsense-ports/misc/py-SoapySDR/files/patch-python_CMakeLists.txt
Franco Fichtner 0c17e6e4a1 */*: sync with upstream
Taken from: HardenedBSD
2018-06-25 06:54:26 +02:00

11 lines
623 B
Text

--- ../python/CMakeLists.txt.orig 2018-06-19 07:11:01 UTC
+++ ../python/CMakeLists.txt
@@ -121,7 +121,7 @@ set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS}
########################################################################
include(FeatureSummary)
include(CMakeDependentOption)
-cmake_dependent_option(ENABLE_PYTHON "Enable python bindings" ON "ENABLE_LIBRARY;SWIG_FOUND;PYTHONINTERP_FOUND;PYTHONLIBS_FOUND;PYTHON_DEBUG_OK;PYTHON_VERSION_MATCH" OFF)
+option(ENABLE_PYTHON "Enable python bindings" ON)
add_feature_info(Python ENABLE_PYTHON "python bindings v${PYTHON_VERSION_STRING}")
if (NOT ENABLE_PYTHON)
return()