Commit 94ef7555 authored by Ansgar Burchardt's avatar Ansgar Burchardt Committed by ansgar
Browse files

[cmake] Guess location of dune-common.

[[Imported from SVN: r12692]]
parent e323943a
project("dune-elasticity" CXX)
cmake_minimum_required(VERSION 2.8.6)
find_package(dune-common)
if(NOT (dune-common_DIR OR dune-common_ROOT))
string(REPLACE ${CMAKE_PROJECT_NAME} dune-common dune-common_DIR ${PROJECT_BINARY_DIR})
endif()
find_package(dune-common REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH})
include(DuneMacros)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment