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)
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)