diff options
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/Modules/FindPythonLibsUnix.cmake | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/build_files/cmake/Modules/FindPythonLibsUnix.cmake b/build_files/cmake/Modules/FindPythonLibsUnix.cmake index 2a4133581a7..489b13b15fd 100644 --- a/build_files/cmake/Modules/FindPythonLibsUnix.cmake +++ b/build_files/cmake/Modules/FindPythonLibsUnix.cmake @@ -77,8 +77,8 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(PythonLibsUnix DEFAULT_MSG if(PYTHONLIBSUNIX_FOUND) # Assign cache items - set(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIR} CACHE STRING "") - set(PYTHON_LIBRARIES ${PYTHON_LIBRARY} CACHE STRING "") + set(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIR}) + set(PYTHON_LIBRARIES ${PYTHON_LIBRARY}) # we need this for installation get_filename_component(PYTHON_LIBPATH ${PYTHON_LIBRARY} PATH) @@ -87,10 +87,7 @@ if(PYTHONLIBSUNIX_FOUND) # set(PYTHON_BINARY ${PYTHON_EXECUTABLE} CACHE STRING "") mark_as_advanced( - PYTHON_INCLUDE_DIRS PYTHON_INCLUDE_DIR - PYTHON_LIBRARIES PYTHON_LIBRARY - PYTHON_LIBPATH ) endif() |