mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Try disabling CMP00037 regardless of CMake version
This commit is contained in:
parent
aa25c4eccc
commit
1fd92f493a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue