CMakeLists.txt 306 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
project("example")
cmake_minimum_required(VERSION 2.8)

find_package(AMDIS REQUIRED)
if(AMDIS_FOUND)
	message(STATUS "AMDiS was found.")
	include(${AMDIS_USE_FILE})
	SET(BASIS_LIBS ${AMDIS_LIBRARIES})
endif(AMDIS_FOUND)

add_executable("example" example.cc)
target_link_libraries("example" ${BASIS_LIBS})