Skip to content

Commit

Permalink
compile custom widgets on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 6, 2017
1 parent d84725f commit 64748aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ci/travis/linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@ if [ "$CACHE_WARMING" = true ] ; then
${CMAKE_FLAGS}
-DWITH_DESKTOP=OFF
-DWITH_SERVER=OFF
-DWITH_CUSTOM_WIDGETS=OFF
"
else
CMAKE_FLAGS="
${CMAKE_FLAGS}
-DWITH_DESKTOP=ON
-DWITH_SERVER=ON
-DWITH_CUSTOM_WIDGETS=ON
"
fi

Expand Down
5 changes: 2 additions & 3 deletions src/customwidgets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ INCLUDE_DIRECTORIES(
)
INCLUDE_DIRECTORIES(SYSTEM
${GEOS_INCLUDE_DIR}
${Qt5UiPlugin_INCLUDE_DIRS} # For Qt5
${Qt5Designer_INCLUDE_DIRS} # For Qt5
${QT_QTDESIGNER_INCLUDE_DIR} # For Qt4
${Qt5UiPlugin_INCLUDE_DIRS}
${Qt5Designer_INCLUDE_DIRS}
)

QT5_WRAP_CPP(QGIS_CUSTOMWIDGETS_MOC_SRCS ${QGIS_CUSTOMWIDGETS_MOC_HDRS})
Expand Down

0 comments on commit 64748aa

Please sign in to comment.