Skip to content

Commit

Permalink
Compile python processing plugins even when WITH_GUI=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Palan authored and nyalldawson committed May 7, 2020
1 parent 5fa9354 commit 4b27b5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Expand Up @@ -57,8 +57,8 @@ MACRO(PY_2TO3 TARGET_NAME RESOURCE_PATHS)
)
ENDMACRO(PY_2TO3)

ADD_SUBDIRECTORY(plugins)
IF (WITH_GUI)
ADD_SUBDIRECTORY(plugins)
ADD_SUBDIRECTORY(qsci_apis)
ADD_SUBDIRECTORY(console)
ADD_SUBDIRECTORY(pyplugin_installer)
Expand Down
4 changes: 3 additions & 1 deletion python/plugins/CMakeLists.txt
Expand Up @@ -49,7 +49,9 @@ MACRO (PLUGIN_INSTALL plugin subdir )
ENDFOREACH(file)
ENDMACRO (PLUGIN_INSTALL)

ADD_SUBDIRECTORY(db_manager)
IF (WITH_GUI)
ADD_SUBDIRECTORY(db_manager)
ENDIF ()
ADD_SUBDIRECTORY(processing)
ADD_SUBDIRECTORY(MetaSearch)

Expand Down

0 comments on commit 4b27b5f

Please sign in to comment.