mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +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"
|
# Set a policy so CMake stops complaining when we use the target name "test"
|
||||||
cmake_policy(PUSH)
|
cmake_policy(PUSH)
|
||||||
if(${CMAKE_VERSION} VERSION_LESS 3.11.0 AND POLICY CMP0037)
|
if(POLICY CMP0037)
|
||||||
cmake_policy(SET CMP0037 OLD)
|
cmake_policy(SET CMP0037 OLD)
|
||||||
endif()
|
endif()
|
||||||
add_custom_target(test
|
add_custom_target(test
|
||||||
|
|
Loading…
Reference in a new issue