From f3b3219c9687e54a83dc7e5dabb0afc4637bb799 Mon Sep 17 00:00:00 2001 From: James Johnston Date: Thu, 3 Dec 2015 19:36:13 +0000 Subject: [PATCH] Embarcadero/Watcom: Properly skip VSResource test for other generators. This test should be skipped based on the chosen compiler, not the chosen generator. --- Tests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 5fd7159a5..06eb62970 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)