Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment