From: nge Date: Wed, 13 Feb 2013 17:59:24 +0000 (+0000) Subject: Integration of new CMake procedure X-Git-Tag: V6_main_FINAL~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f64478290a2c4aa5bc5d944dc8342a00fe64b8a4;p=modules%2Fgui.git Integration of new CMake procedure --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ddc560ba9..5b90351bf 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")