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:
parent
ddbda72288
commit
f3b3219c96
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue