Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix build without gui
  • Loading branch information
3nids authored and nyalldawson committed Mar 24, 2021
1 parent 2d1aa68 commit 7f0d2f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/virtual/CMakeLists.txt
Expand Up @@ -29,7 +29,9 @@ if (WITH_GUI)
)
endif()

QT5_WRAP_UI(vlayer_provider_UI_H qgsvirtuallayersourceselectbase.ui qgsembeddedlayerselect.ui)
if (WITH_GUI)
QT5_WRAP_UI(vlayer_provider_UI_H qgsvirtuallayersourceselectbase.ui qgsembeddedlayerselect.ui)
endif()

include_directories(

Expand All @@ -38,8 +40,6 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR} # ui_xxx_dlg.h
)

if (WITH_GUI)
endif()

include_directories(SYSTEM
${POSTGRES_INCLUDE_DIR}
Expand Down

0 comments on commit 7f0d2f6

Please sign in to comment.