aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrunningnak3d <none@none>2010-04-13 16:11:04 +0200
committerrunningnak3d <none@none>2010-04-13 16:11:04 +0200
commit873f8d03806695e09ee0aaa1daa257532c216f8d (patch)
treefba38ed5da038f057c64166efbd02472eda81b73
parentc8bf52d19105dc367e7ad26d5e35d9404ac7cf20 (diff)
* New -DDO_SQL swich for cmake by default disabled to avoid usual not
* needed copy SQL files on linux environments * Patch by Aokromes --HG-- branch : trunk
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53238fe1808..c5b5a7e668d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,7 @@ OPTION(DO_RA "With RA" 0)
OPTION(DO_DEBUG "Debug mode" 0)
OPTION(DO_WARN "Enable all compile warnings" 0)
OPTION(CENTOS "CENTOS" 0)
+OPTION(DO_SQL "Copy SQL files" 0)
SET(GENREV_SRC
src/tools/genrevision/genrevision.cpp
@@ -176,4 +177,8 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
add_subdirectory(dep)
#add_subdirectory(doc)
add_subdirectory(src)
+if(DO_SQL)
+message("* Copy SQL files ON")
add_subdirectory(sql)
+endif(DO_SQL)
+