]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
CMake sync
authorbruneton <bruneton>
Wed, 25 Sep 2013 07:24:05 +0000 (07:24 +0000)
committerbruneton <bruneton>
Wed, 25 Sep 2013 07:24:05 +0000 (07:24 +0000)
adm_local_without_kernel/cmake_files/FindSalomePython.cmake

index 26b86dcf7c0ecae93a9df54b091dd77be6bba203..7704148dec791bb16076d8ea11de7b4ec993b314 100644 (file)
@@ -146,8 +146,13 @@ IF (SALOMEPYTHON_FOUND)
       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 )