]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Integration of new CMake procedure
authornge <nge>
Wed, 13 Feb 2013 17:59:24 +0000 (17:59 +0000)
committernge <nge>
Wed, 13 Feb 2013 17:59:24 +0000 (17:59 +0000)
CMakeLists.txt

index ddc560ba9fea342641402fcb4a19ce83042bc85c..5b90351bf5d14f6cc09f7a2bb7b5279e27b0bd9a 100755 (executable)
@@ -278,7 +278,7 @@ if(EXISTS ${SIP_ROOT_DIR})
   set(CMAKE_PROGRAM_PATH ${SIP_ROOT_DIR}/bin)
 endif(EXISTS ${SIP_ROOT_DIR})
 find_program(SIP_EXECUTABLE sip REQUIRED)
-find_path(SIP_INCLUDE_DIR sip.h REQUIRED)
+find_path(SIP_INCLUDE_DIR sip.h REQUIRED HINTS /usr/include/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
 
 # PyQt4
 set(PYQT_ROOT_DIR $ENV{PYQT_ROOT_DIR} CACHE PATH "Path to PyQt4 directory")