diff options
author | Vincent Richard <[email protected]> | 2014-01-21 19:23:51 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2014-01-21 19:23:51 +0000 |
commit | d4c30d9b7b339971ff659973b902447706169a99 (patch) | |
tree | 7e7f0f1d2a6cbb11dae5f51573c189f91a03e934 /CMakeLists.txt | |
parent | Use appropriate syntax for rethrowing exceptions. (diff) | |
download | vmime-d4c30d9b7b339971ff659973b902447706169a99.tar.gz vmime-d4c30d9b7b339971ff659973b902447706169a99.zip |
Fixed build of examples.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 25f74e64..b08d7c79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,10 +340,6 @@ OPTION( ON ) -IF(VMIME_BUILD_SAMPLES) - ADD_SUBDIRECTORY(examples) -ENDIF() - ############################################################################## # Packaging / Distribution @@ -1064,6 +1060,14 @@ IF(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL) ENDIF() +############################################################################## +# Build examples + +IF(VMIME_BUILD_SAMPLES) + ADD_SUBDIRECTORY(examples) +ENDIF() + + # Set our configure file CONFIGURE_FILE(cmake/config.hpp.cmake ${CMAKE_SOURCE_DIR}/src/vmime/config.hpp) |