Skip to content

Commit

Permalink
db_manager: enable oracle plugin only when oracle support is available
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 26, 2015
1 parent 9d5a942 commit 4984cae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/db_manager/db_plugins/CMakeLists.txt
@@ -1,6 +1,8 @@
ADD_SUBDIRECTORY(postgis)
ADD_SUBDIRECTORY(spatialite)
ADD_SUBDIRECTORY(oracle)
IF(WITH_ORACLE)
ADD_SUBDIRECTORY(oracle)
ENDIF(WITH_ORACLE)

FILE(GLOB PY_FILES *.py)
PLUGIN_INSTALL(db_manager db_plugins ${PY_FILES})

0 comments on commit 4984cae

Please sign in to comment.