diff --git a/CMakeLists.txt b/CMakeLists.txt index ea7e2aa..9ed8094 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,16 +125,21 @@ configure_file ( "${concordia_SOURCE_DIR}/concordia/common/config.hpp.in" "${concordia_SOURCE_DIR}/concordia/common/config.hpp" ) +message(STATUS "Configured common/config.hpp") configure_file ( "${concordia_SOURCE_DIR}/tests/resources/concordia-config/concordia.cfg.in" "${concordia_SOURCE_DIR}/tests/resources/concordia-config/concordia.cfg" ) +message(STATUS "Configured tests/.../concordia.cfg") -configure_file ( - "${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg.in" - "${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg" - ) +if (EXISTS "${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg.in") + configure_file ( + "${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg.in" + "${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg" + ) + message(STATUS "Configured prod/.../concordia.cfg") +endif() # ================================================ # Concordia: sub-projects