1
0
forked from boostorg/mp11

Update .cmake files

This commit is contained in:
Peter Dimov
2019-12-21 15:50:29 +02:00
parent 219cf35ea8
commit 6b2b305117
4 changed files with 16 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
if(NOT CMAKE_VERSION VERSION_LESS 3.10)
include_guard()
endif()
if(NOT COMMAND FetchContent_Populate)
if(CMAKE_VERSION VERSION_LESS 3.11)

View File

@@ -2,6 +2,10 @@
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
if(NOT CMAKE_VERSION VERSION_LESS 3.10)
include_guard()
endif()
function(boost_message type)
if(type STREQUAL "VERBOSE" OR type STREQUAL "DEBUG")

View File

@@ -2,6 +2,10 @@
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
if(NOT CMAKE_VERSION VERSION_LESS 3.10)
include_guard()
endif()
function(boost_test)
cmake_parse_arguments(_ "" "TYPE;PREFIX;NAME" "SOURCES;LIBRARIES;ARGUMENTS" ${ARGN})

View File

@@ -2,6 +2,10 @@
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
if(NOT CMAKE_VERSION VERSION_LESS 3.10)
include_guard()
endif()
include(BoostTest)
include(BoostMessage)