]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
SIP_INCLUDE_DIR must be added after PYTHON_INCLUDE_DIRS
authorGilles DAVID <gilles-g.david@edf.fr>
Fri, 1 Dec 2017 17:12:26 +0000 (18:12 +0100)
committerGilles DAVID <gilles-g.david@edf.fr>
Fri, 1 Dec 2017 17:12:28 +0000 (18:12 +0100)
Otherwise with system Python and compiled SIP, the system sip.h header
(present in PYTHON_INCLUDE_DIRS) is used.

src/SALOME_PYQT/SALOME_PYQT_GUI/CMakeLists.txt
src/SALOME_PYQT/SALOME_PYQT_GUILight/CMakeLists.txt

index ded75b88fcc4052e14f2997cdbb6ca21cb0ca351..ee4db4cc8e0a5328593bac292be8656f1ce84155 100755 (executable)
@@ -28,8 +28,8 @@ ENDIF()
 INCLUDE_DIRECTORIES(
   ${CAS_INCLUDE_DIRS}
   ${QT_INCLUDES}
-  ${SIP_INCLUDE_DIRS}
   ${PYTHON_INCLUDE_DIRS}
+  ${SIP_INCLUDE_DIRS}
   ${PTHREAD_INCLUDE_DIR}
   ${Boost_INCLUDE_DIRS}
   ${OMNIORB_INCLUDE_DIR}
index 589e537e1ab5e09b05d2ad2935f580f9a3b962eb..90208394d8161b5e5d01f33ec94dcb343a2c41e5 100755 (executable)
@@ -30,8 +30,8 @@ ENDIF()
 INCLUDE_DIRECTORIES(
   ${CAS_INCLUDE_DIRS}
   ${QT_INCLUDES}
-  ${SIP_INCLUDE_DIR}
   ${PYTHON_INCLUDE_DIRS}
+  ${SIP_INCLUDE_DIR}
   ${PTHREAD_INCLUDE_DIR}
   ${CMAKE_CURRENT_BINARY_DIR}
   ${PROJECT_SOURCE_DIR}/src/CAM