summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-07-02 09:06:24 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-07-02 09:06:24 +0200
commitb014b0c0c29553ed9a7a38278f5433d28b0f8751 (patch)
tree55c948322591f6cfefd4417d8896dd4729a65549
parent2008ccc79e21962ffb5e327c2aba4ea7c8da76a1 (diff)
downloadmad-b014b0c0c29553ed9a7a38278f5433d28b0f8751.tar
mad-b014b0c0c29553ed9a7a38278f5433d28b0f8751.zip
CMake: configure_file: Vollständiger Source-Pfad
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/modules/CMakeLists.txt2
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