mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-15 03:30:39 -06:00
Merge topic 'test-FindPackageModeMakefileTest-optionally'
c05678ad Tests: Add option to disable FindPackageModeMakefileTest
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
|
||||
if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Makefile")
|
||||
if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Makefile" AND
|
||||
NOT CMake_TEST_NO_FindPackageModeMakefileTest)
|
||||
|
||||
# Test whether the make is GNU make, and only add the test in this case,
|
||||
# since the configured makefile in this test uses $(shell ...), which
|
||||
|
||||
Reference in New Issue
Block a user