Skip to content

Commit 883e4f3

Browse files
committed
minor cleaning of python/CMakeLists.txt
1 parent b8b01ac commit 883e4f3

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

python/CMakeLists.txt

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ INCLUDE_DIRECTORIES(
113113
../src/core/scalebar
114114
../src/core/symbology-ng
115115

116+
../src/gui
117+
../src/gui/symbology-ng
116118
../src/gui/raster
117119
../src/gui/attributetable
118120
../src/gui/auth
@@ -121,8 +123,12 @@ INCLUDE_DIRECTORIES(
121123
../src/gui/effects
122124
../src/gui/layertree
123125

126+
../src/plugins
127+
124128
${CMAKE_BINARY_DIR} # qgsconfig.h, qgsversion.h
125129
${CMAKE_BINARY_DIR}/src/core
130+
${CMAKE_BINARY_DIR}/src/gui
131+
${CMAKE_BINARY_DIR}/src/ui
126132
${CMAKE_BINARY_DIR}/src/analysis
127133
)
128134

@@ -147,15 +153,6 @@ GENERATE_SIP_PYTHON_MODULE_CODE(qgis._core core/core.sip cpp_files)
147153
BUILD_SIP_PYTHON_MODULE(qgis._core core/core.sip ${cpp_files} "" qgis_core)
148154
SET(SIP_CORE_CPP_FILES ${cpp_files})
149155

150-
# additional gui includes
151-
INCLUDE_DIRECTORIES(
152-
../src/gui
153-
../src/gui/symbology-ng
154-
../src/plugins
155-
${CMAKE_BINARY_DIR}/src/gui
156-
${CMAKE_BINARY_DIR}/src/ui
157-
)
158-
159156
# gui module
160157
FILE(GLOB_RECURSE sip_files_gui gui/*.sip)
161158
SET(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_gui})

0 commit comments

Comments
 (0)