ENDIF()
FIND_PACKAGE(SalomePython REQUIRED)
+message("PYTHON_ROOT_DIR ${PYTHON_ROOT_DIR}")
FIND_PACKAGE(SalomePThread REQUIRED)
FIND_PACKAGE(SalomeSWIG REQUIRED)
FIND_PACKAGE(SalomeLibXml2 REQUIRED)
SET(OMNIORBPY_ROOT_DIR "${OMNIORBPY_ROOT_DIR}")
SET(LIBBATCH_ROOT_DIR "${LIBBATCH_ROOT_DIR}")
+message("PYTHON_ROOT_DIR ${PYTHON_ROOT_DIR}")
+
SET(CONF_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include")
CONFIGURE_PACKAGE_CONFIG_FILE(salome_adm/cmake_files/${PROJECT_NAME}Config.cmake.in
${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
ENDIF()
ENDIF()
- # 6. Specifics
- #
+ ##
+ ## 6. Save the final detected installation
+ ##
+ SET(PYTHON_ROOT_DIR "${_tmp_ROOT_DIR}")
+
+ ## 7. Specifics
+ ##
# NumPy detection
EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "import numpy ; import sys ; sys.stdout.write(numpy.get_include())" OUTPUT_VARIABLE NUMPY_INCLUDE_DIR ERROR_QUIET )