1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-14 14:53:18 +00:00

Document CMake policy

This commit is contained in:
Carles Fernandez 2020-01-29 00:56:19 +01:00
parent 04b595188f
commit 89541ad09e
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -247,11 +247,13 @@ if(NOT CMAKE_MAKE_PROGRAM_PRETTY_NAME)
endif()
if(CMAKE_VERSION VERSION_LESS 3.12)
if(POLICY CMP0057) # required by FindDoxygen.cmake module
cmake_policy(SET CMP0057 NEW)
if(POLICY CMP0057) # required by FindDoxygen.cmake module
cmake_policy(SET CMP0057 NEW) # Support if() IN_LIST operator, added in CMake 3.3
endif()
endif()
################################################################################
# Minimum required versions
################################################################################