Files
ports/devel/gdcm/files/patch-Wrapping_Python_CMakeLists.txt
T
2026-10-04 04:07:15 +00:00

16 lines
676 B
Plaintext
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: