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
5 cmake_minimum_required(VERSION 3.5...3.16)
7 project(cmake_install_test LANGUAGES CXX)
9 find_package(boost_endian REQUIRED)
10 find_package(boost_core REQUIRED)
12 add_executable(quick ../quick.cpp)
13 target_link_libraries(quick Boost::endian Boost::core)
18 add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)