Fixed build of examples.

This commit is contained in:
Vincent Richard 2014-01-21 20:23:51 +01:00
parent 6c9a32d314
commit d4c30d9b7b

View File

@ -340,10 +340,6 @@ OPTION(
ON ON
) )
IF(VMIME_BUILD_SAMPLES)
ADD_SUBDIRECTORY(examples)
ENDIF()
############################################################################## ##############################################################################
# Packaging / Distribution # Packaging / Distribution
@ -1064,6 +1060,14 @@ IF(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL)
ENDIF() ENDIF()
##############################################################################
# Build examples
IF(VMIME_BUILD_SAMPLES)
ADD_SUBDIRECTORY(examples)
ENDIF()
# Set our configure file # Set our configure file
CONFIGURE_FILE(cmake/config.hpp.cmake ${CMAKE_SOURCE_DIR}/src/vmime/config.hpp) CONFIGURE_FILE(cmake/config.hpp.cmake ${CMAKE_SOURCE_DIR}/src/vmime/config.hpp)