Browse Source

Fix policy version number.

sbg
James Goppert 10 years ago
parent
commit
7e41260135
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -142,6 +142,8 @@ project(px4 CXX C ASM) @@ -142,6 +142,8 @@ project(px4 CXX C ASM)
if (NOT ${CMAKE_VERSION} VERSION_LESS 3.0.0)
cmake_policy(SET CMP0045 NEW) # error on non-existent target in get prop
cmake_policy(SET CMP0046 NEW) # no non-existent targets as dependencies
endif()
if (NOT ${CMAKE_VERSION} VERSION_LESS 3.1.0)
cmake_policy(SET CMP0054 NEW) # don't dereference quoted variables
endif()

Loading…
Cancel
Save