From f64478290a2c4aa5bc5d944dc8342a00fe64b8a4 Mon Sep 17 00:00:00 2001 From: nge Date: Wed, 13 Feb 2013 17:59:24 +0000 Subject: [PATCH] Integration of new CMake procedure --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.2