# This is a minimal CMake file that illustrates how to link your
# project to ALPSCore
# Several additional options are possible (or even recommended), 
# this tutorial only illustrates the minimal options

# we need at least cmake version 2.8.12
cmake_minimum_required(VERSION 2.8.12)

# the project is called 'linking', and it is a C++ project
project(linking CXX)

# the project relies on the ALPSCore package. If ALPSCore is not found
# automatically, specify its location using:
# export ALPSCore_DIR=/location/to/ALPSCORE/
find_package(ALPSCore REQUIRED)

# we only have one cpp file: it's called linking.cpp
add_executable(${PROJECT_NAME} linking.cpp)


# Use ALPSCore_LIBRARIES variable to link to ALPSCore 
target_link_libraries(${PROJECT_NAME} ${ALPSCore_LIBRARIES})
