diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-02-02 18:54:17 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-02-03 16:15:44 (GMT) |
commit | 62e8884d3f8be6cce8bde32a3f6eb499b4e38758 (patch) | |
tree | eab2826f606ca121137ba5ecac11cbaaf96e5662 /Modules/CTestTargets.cmake | |
parent | 77610c6cf0fd18586eaaf4b328936f79683afd34 (diff) | |
download | CMake-62e8884d3f8be6cce8bde32a3f6eb499b4e38758.zip CMake-62e8884d3f8be6cce8bde32a3f6eb499b4e38758.tar.gz CMake-62e8884d3f8be6cce8bde32a3f6eb499b4e38758.tar.bz2 |
CTestTargets: Use $<CONFIG> instead of ${CMAKE_CFG_INTDIR}
Diffstat (limited to 'Modules/CTestTargets.cmake')
-rw-r--r-- | Modules/CTestTargets.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CTestTargets.cmake b/Modules/CTestTargets.cmake index b91b48e..99ef8e5 100644 --- a/Modules/CTestTargets.cmake +++ b/Modules/CTestTargets.cmake @@ -41,7 +41,7 @@ set(__conf_types "") get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if(_isMultiConfig) # 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() # Add convenience targets. Do this at most once in case of nested |