Embarcadero/Watcom: Properly skip VSResource test for other generators.

This test should be skipped based on the chosen compiler, not the chosen
generator.
This commit is contained in:
James Johnston 2015-12-03 19:36:13 +00:00
parent ddbda72288
commit f3b3219c96
1 changed files with 1 additions and 2 deletions

View File

@ -269,8 +269,7 @@ if(BUILD_TESTING)
set(TEST_RESOURCES TRUE) set(TEST_RESOURCES TRUE)
endif() endif()
# for borland and watcom there is no resource support # for borland and watcom there is no resource support
if("${CMAKE_GENERATOR}" MATCHES "WMake" OR if(WATCOM OR BORLAND)
"${CMAKE_GENERATOR}" MATCHES "Borland")
set(TEST_RESOURCES FALSE) set(TEST_RESOURCES FALSE)
endif() endif()
if(TEST_RESOURCES) if(TEST_RESOURCES)