cmake - fix subproject logging settings

This commit is contained in:
mhochsteger@cerbsim.com 2021-11-02 10:39:16 +01:00
parent 4cbfca6e4b
commit 68502ad77c

View File

@ -12,13 +12,13 @@ set (SUBPROJECT_ARGS
LOG_DOWNLOAD ON
LOG_BUILD ON
LOG_INSTALL ON
LOG_CONFIGURE OFF
LOG_CONFIGURE ON
LIST_SEPARATOR |
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dependencies
)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14.0")
set (SUBPROJECT_LOG_SETTINGS
${SUBPROJECT_LOG_SETTINGS}
set (SUBPROJECT_ARGS
${SUBPROJECT_ARGS}
LOG_OUTPUT_ON_FAILURE 1
LOG_MERGED_STDOUTERR 1
)