mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
Try disabling CMP00037 regardless of CMake version
This commit is contained in:
committed by
Johannes Altmanninger
parent
aa25c4eccc
commit
1fd92f493a
@@ -26,7 +26,7 @@ endif()
|
||||
|
||||
# Set a policy so CMake stops complaining when we use the target name "test"
|
||||
cmake_policy(PUSH)
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.11.0 AND POLICY CMP0037)
|
||||
if(POLICY CMP0037)
|
||||
cmake_policy(SET CMP0037 OLD)
|
||||
endif()
|
||||
add_custom_target(test
|
||||
|
||||
Reference in New Issue
Block a user