mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
CTestTargets: Use $<CONFIG> instead of ${CMAKE_CFG_INTDIR}
This commit is contained in:
@@ -41,7 +41,7 @@ set(__conf_types "")
|
|||||||
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
||||||
if(_isMultiConfig)
|
if(_isMultiConfig)
|
||||||
# We need to pass the configuration type on the test command line.
|
# We need to pass the configuration type on the test command line.
|
||||||
set(__conf_types -C "${CMAKE_CFG_INTDIR}")
|
set(__conf_types -C "$<CONFIG>")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Add convenience targets. Do this at most once in case of nested
|
# Add convenience targets. Do this at most once in case of nested
|
||||||
|
|||||||
Reference in New Issue
Block a user