hana/example/cmake_integration/CMakeLists.txt
Louis Dionne d53ef246fd Generate a HanaConfig file that exports the Hana target
This supersedes the `FindHana.cmake` module that we used to provide, which was
buggy and was not the proper way of giving an easy integration for CMake users.

Fixes #328
2017-03-29 21:41:07 -07:00

13 lines
354 B
CMake

# Copyright Louis Dionne 2013-2017
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
# [snip]
cmake_minimum_required(VERSION 3.0)
project(external CXX)
find_package(Hana REQUIRED)
add_executable(external main.cpp)
target_link_libraries(external hana)
# [snip]