diff options
author | Vincent Richard <[email protected]> | 2013-03-06 21:06:15 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-03-06 21:06:15 +0000 |
commit | 5aa9bffe84c0c48605086f79369ccd86f7013b60 (patch) | |
tree | 9956e94954caaacfd6a3402a114e8f80822c5c2c | |
parent | Fixed 'config.hpp' not installed (issue #29). (diff) | |
download | vmime-5aa9bffe84c0c48605086f79369ccd86f7013b60.tar.gz vmime-5aa9bffe84c0c48605086f79369ccd86f7013b60.zip |
Fixes for out-of-source build.
-rw-r--r-- | CMakeLists.txt | 3 |
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) |