only configure prod resources if available
This commit is contained in:
parent
bb7608d05e
commit
952b94971f
@ -125,16 +125,21 @@ configure_file (
|
|||||||
"${concordia_SOURCE_DIR}/concordia/common/config.hpp.in"
|
"${concordia_SOURCE_DIR}/concordia/common/config.hpp.in"
|
||||||
"${concordia_SOURCE_DIR}/concordia/common/config.hpp"
|
"${concordia_SOURCE_DIR}/concordia/common/config.hpp"
|
||||||
)
|
)
|
||||||
|
message(STATUS "Configured common/config.hpp")
|
||||||
|
|
||||||
configure_file (
|
configure_file (
|
||||||
"${concordia_SOURCE_DIR}/tests/resources/concordia-config/concordia.cfg.in"
|
"${concordia_SOURCE_DIR}/tests/resources/concordia-config/concordia.cfg.in"
|
||||||
"${concordia_SOURCE_DIR}/tests/resources/concordia-config/concordia.cfg"
|
"${concordia_SOURCE_DIR}/tests/resources/concordia-config/concordia.cfg"
|
||||||
)
|
)
|
||||||
|
message(STATUS "Configured tests/.../concordia.cfg")
|
||||||
|
|
||||||
|
if (EXISTS "${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg.in")
|
||||||
configure_file (
|
configure_file (
|
||||||
"${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg.in"
|
"${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg.in"
|
||||||
"${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg"
|
"${concordia_SOURCE_DIR}/prod/resources/concordia-config/concordia.cfg"
|
||||||
)
|
)
|
||||||
|
message(STATUS "Configured prod/.../concordia.cfg")
|
||||||
|
endif()
|
||||||
|
|
||||||
# ================================================
|
# ================================================
|
||||||
# Concordia: sub-projects
|
# Concordia: sub-projects
|
||||||
|
Loading…
Reference in New Issue
Block a user