From 873f8d03806695e09ee0aaa1daa257532c216f8d Mon Sep 17 00:00:00 2001 From: runningnak3d Date: Tue, 13 Apr 2010 16:11:04 +0200 Subject: * 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 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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) + -- cgit v1.2.3