]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/endian/test/cmake_install_test/CMakeLists.txt
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / endian / test / cmake_install_test / CMakeLists.txt
CommitLineData
f67539c2
TL
1# Copyright 2018, 2019 Peter Dimov
2# Distributed under the Boost Software License, Version 1.0.
3# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
5cmake_minimum_required(VERSION 3.5...3.16)
6
7project(cmake_install_test LANGUAGES CXX)
8
9find_package(boost_endian REQUIRED)
10find_package(boost_core REQUIRED)
11
12add_executable(quick ../quick.cpp)
13target_link_libraries(quick Boost::endian Boost::core)
14
15enable_testing()
16add_test(quick quick)
17
18add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)