diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-07-02 09:06:24 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-07-02 09:06:24 +0200 |
commit | b014b0c0c29553ed9a7a38278f5433d28b0f8751 (patch) | |
tree | 55c948322591f6cfefd4417d8896dd4729a65549 | |
parent | 2008ccc79e21962ffb5e327c2aba4ea7c8da76a1 (diff) | |
download | mad-b014b0c0c29553ed9a7a38278f5433d28b0f8751.tar mad-b014b0c0c29553ed9a7a38278f5433d28b0f8751.zip |
CMake: configure_file: Vollständiger Source-Pfad
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/modules/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b621ec0..50edfaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ find_package(OpenSSL REQUIRED) find_package(Boost REQUIRED regex signals system thread) find_package(MySQL) -configure_file(config.h.in ${MAD_BINARY_DIR}/config.h) +configure_file(${MAD_SOURCE_DIR}/config.h.in ${MAD_BINARY_DIR}/config.h) set(INCLUDES ${MAD_SOURCE_DIR}/src diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index 4c86688..fb9aac0 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -47,7 +47,7 @@ foreach(module ${STATIC_MODULES}) SET(STATIC_MODULE_LIST "${STATIC_MODULE_LIST}std::make_pair(\"${module}\", &${module}_create),\n") endforeach(module ${STATIC_MODULES}) -configure_file(modules.cpp.in ${MAD_BINARY_DIR}/src/modules/modules.cpp) +configure_file(${MAD_SOURCE_DIR}/src/modules/modules.cpp.in ${MAD_BINARY_DIR}/src/modules/modules.cpp) add_library(modules STATIC modules.cpp modules.h |