Skip to content

Commit b2086a9

Browse files
committed
Use QT_HEADERS_DIR because, on OSX, QT_INCLUDE_DIR actually comes back from CMake as _two_ paths ... and then appending QtCore and QtGui only operates on the second path, which is actually not the path we want to append to
1 parent 4bee4b7 commit b2086a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SeExprEditor/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ ENDIF(WIN32)
9191
set(CMAKE_CXX_FLAGS "-std=c++0x")
9292
set(CMAKE_INSTALL_PYTHON "${PYTHON_SITE}/SeExpr" )
9393
include_directories(${SIP_INCLUDE_DIR} ${PYQT4_SIP}
94-
${PYTHON_INCLUDE_DIR} ${QT_INCLUDE_DIR}/QtCore
95-
${QT_INCLUDE_DIR}/QtGui)
94+
${PYTHON_INCLUDE_DIR} ${QT_HEADERS_DIR}/QtCore
95+
${QT_HEADERS_DIR}/QtGui)
9696

9797
add_custom_command(OUTPUT sipexpreditorpart0.cpp
9898
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/SeExprEditor.sip

0 commit comments

Comments
 (0)