opnsense-ports/devel/gdcm/files/patch-Wrapping_Python_CMakeLists.txt
Franco Fichtner 971c80e954 */*: sync with upstream
Taken from: FreeBSD
2022-06-28 17:39:57 +02:00

15 lines
676 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- Choose exact Python version, see https://sourceforge.net/p/gdcm/bugs/538/
--- Wrapping/Python/CMakeLists.txt.orig 2022-06-26 20:16:42 UTC
+++ Wrapping/Python/CMakeLists.txt
@@ -48,8 +48,8 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
)
-find_package(PythonInterp ${GDCM_DEFAULT_PYTHON_VERSION} REQUIRED)
-find_package(PythonLibs ${GDCM_DEFAULT_PYTHON_VERSION} REQUIRED)
+find_package(PythonInterp ${GDCM_DEFAULT_PYTHON_VERSION} EXACT REQUIRED)
+find_package(PythonLibs ${GDCM_DEFAULT_PYTHON_VERSION} EXACT REQUIRED)
# TODO Need to check consistency python interp and python libs...
mark_as_advanced(PYTHON_LIBRARY PYTHON_INCLUDE_PATH)
# Lamest excuse ever: