Skip to content
Permalink
Browse files

Fix install for generated export headers

  • Loading branch information
m-kuhn committed Jan 5, 2017
1 parent b1e226c commit d88e7cae2e2fc9775c15036d817f1057e5c79bcd
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/analysis/CMakeLists.txt
  2. +1 −1 src/core/CMakeLists.txt
  3. +1 −1 src/gui/CMakeLists.txt
  4. +1 −1 src/python/CMakeLists.txt
@@ -212,7 +212,7 @@ GENERATE_EXPORT_HEADER(
EXPORT_FILE_NAME qgis_analysis.h
)

SET(QGIS_ANALYSIS_HDRS ${QGIS_ANALYSIS_HDRS} ${PROJECT_BINARY_DIR}/qgis_analysis.h)
SET(QGIS_ANALYSIS_HDRS ${QGIS_ANALYSIS_HDRS} ${CMAKE_CURRENT_BINARY_DIR}/qgis_analysis.h)


# install
@@ -949,7 +949,7 @@ GENERATE_EXPORT_HEADER(
EXPORT_FILE_NAME qgis_core.h
)

SET(QGIS_CORE_HDRS ${QGIS_CORE_HDRS} ${PROJECT_BINARY_DIR}/qgis_core.h)
SET(QGIS_CORE_HDRS ${QGIS_CORE_HDRS} ${CMAKE_CURRENT_BINARY_DIR}/qgis_core.h)

IF(ENABLE_MODELTEST)
TARGET_LINK_LIBRARIES(qgis_core ${QT_QTTEST_LIBRARY})
@@ -873,7 +873,7 @@ GENERATE_EXPORT_HEADER(
EXPORT_FILE_NAME qgis_gui.h
)

SET(QGIS_GUI_HDRS ${QGIS_GUI_HDRS} ${PROJECT_BINARY_DIR}/qgis_gui.h)
SET(QGIS_GUI_HDRS ${QGIS_GUI_HDRS} ${CMAKE_CURRENT_BINARY_DIR}/qgis_gui.h)

IF(WIN32)
ADD_DEFINITIONS(-DQWT_DLL)
@@ -39,7 +39,7 @@ GENERATE_EXPORT_HEADER(
)

INSTALL(FILES
${PROJECT_BINARY_DIR}/qgis_python.h DESTINATION ${QGIS_INCLUDE_DIR}
${CMAKE_CURRENT_BINARY_DIR}/qgis_python.h DESTINATION ${QGIS_INCLUDE_DIR}
)

IF (APPLE)

0 comments on commit d88e7ca

Please sign in to comment.
You can’t perform that action at this time.