aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-03-06 21:06:15 +0000
committerVincent Richard <[email protected]>2013-03-06 21:06:15 +0000
commit5aa9bffe84c0c48605086f79369ccd86f7013b60 (patch)
tree9956e94954caaacfd6a3402a114e8f80822c5c2c
parentFixed 'config.hpp' not installed (issue #29). (diff)
downloadvmime-5aa9bffe84c0c48605086f79369ccd86f7013b60.tar.gz
vmime-5aa9bffe84c0c48605086f79369ccd86f7013b60.zip
Fixes for out-of-source build.
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4b655a3..507cf3af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,7 @@ INCLUDE(CheckLibraryExists)
# CMake configuration
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY build/bin)
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY build/lib)
+SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY build/lib)
SET(CMAKE_VERBOSE_MAKEFILE ON)
@@ -767,7 +768,7 @@ ENDIF()
# Set our configure file
-CONFIGURE_FILE(cmake/config.hpp.cmake vmime/config.hpp)
+CONFIGURE_FILE(cmake/config.hpp.cmake ${CMAKE_SOURCE_DIR}/vmime/config.hpp)
# PkgConfig post-configuration
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/libvmime.pc.in ${CMAKE_BINARY_DIR}/libvmime.pc @ONLY)