diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-06-05 12:42:13 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-06-05 12:42:13 -0400 |
commit | 7db77a828a3c79c5dce476b78e759478756ca091 (patch) | |
tree | c2d764a7457116ee2f137d34e2a2f83e8a65fdb9 /Tests/ComplexOneConfig | |
parent | 88818b680549651b6531a6648396d749b759afb2 (diff) | |
download | cmake-7db77a828a3c79c5dce476b78e759478756ca091.tar.gz |
tests: allow RelWithDebInfo and MinSizeRel configs to work
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index d3d91323e0..3f17dcc3b9 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -83,6 +83,14 @@ set_property(DIRECTORY PROPERTY COMPILE_DEFINITIONS_RELEASE CMAKE_IS_FUN_IN_RELEASE_MODE ) +set_property(DIRECTORY + PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO + CMAKE_IS_FUN_IN_RELEASE_MODE + ) +set_property(DIRECTORY + PROPERTY COMPILE_DEFINITIONS_MINSIZEREL + CMAKE_IS_FUN_IN_RELEASE_MODE + ) set(TEST_SEP "a b c") separate_arguments(TEST_SEP) |