forked from boostorg/mp11
Update .cmake files
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0.
|
# 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
|
# 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(NOT COMMAND FetchContent_Populate)
|
||||||
|
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.11)
|
if(CMAKE_VERSION VERSION_LESS 3.11)
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0.
|
# 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
|
# 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)
|
function(boost_message type)
|
||||||
|
|
||||||
if(type STREQUAL "VERBOSE" OR type STREQUAL "DEBUG")
|
if(type STREQUAL "VERBOSE" OR type STREQUAL "DEBUG")
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0.
|
# 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
|
# 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)
|
function(boost_test)
|
||||||
|
|
||||||
cmake_parse_arguments(_ "" "TYPE;PREFIX;NAME" "SOURCES;LIBRARIES;ARGUMENTS" ${ARGN})
|
cmake_parse_arguments(_ "" "TYPE;PREFIX;NAME" "SOURCES;LIBRARIES;ARGUMENTS" ${ARGN})
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0.
|
# 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
|
# 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(BoostTest)
|
||||||
include(BoostMessage)
|
include(BoostMessage)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user