mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Build
- Added code to set poicy CMP0037 to "OLD", which eliminates the warnings about the 'test' target.
This commit is contained in:
parent
a3b0d5c6a6
commit
b882cd151e
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
cmake_minimum_required (VERSION 2.8)
|
cmake_minimum_required (VERSION 2.8)
|
||||||
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
|
||||||
|
if(POLICY CMP0037)
|
||||||
|
cmake_policy(SET CMP0037 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
include (CheckFunctionExists)
|
include (CheckFunctionExists)
|
||||||
include (CheckStructHasMember)
|
include (CheckStructHasMember)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue