mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
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:
1 parent
ddbda72288
commit
f3b3219c96
1 file changed
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user