summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Johnston <johnstonj.public@codenest.com>2015-12-03 19:36:13 (GMT)
committerJames Johnston <johnstonj.public@codenest.com>2015-12-03 21:37:06 (GMT)
commitf3b3219c9687e54a83dc7e5dabb0afc4637bb799 (patch)
treef8d6080dcbc0a4d0b0b1a7f491d83ef21048a2d7
parentddbda72288f022fa558d8253c8894687634448c1 (diff)
downloadCMake-f3b3219c9687e54a83dc7e5dabb0afc4637bb799.zip
CMake-f3b3219c9687e54a83dc7e5dabb0afc4637bb799.tar.gz
CMake-f3b3219c9687e54a83dc7e5dabb0afc4637bb799.tar.bz2
Embarcadero/Watcom: Properly skip VSResource test for other generators.
This test should be skipped based on the chosen compiler, not the chosen generator.
-rw-r--r--Tests/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 5fd7159..06eb629 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -269,8 +269,7 @@ if(BUILD_TESTING)
set(TEST_RESOURCES TRUE)
endif()
# for borland and watcom there is no resource support
- if("${CMAKE_GENERATOR}" MATCHES "WMake" OR
- "${CMAKE_GENERATOR}" MATCHES "Borland")
+ if(WATCOM OR BORLAND)
set(TEST_RESOURCES FALSE)
endif()
if(TEST_RESOURCES)