Skip to content
Snippets Groups Projects
Commit f6369a09 authored by Ansgar Burchardt's avatar Ansgar Burchardt Committed by ansgar
Browse files

[cmake] Guess location of dune-common and mark dune-common as required.

[[Imported from SVN: r12690]]
parent 0d09b572
Branches
Tags
No related merge requests found
project("dune-solvers" CXX) project("dune-solvers" CXX)
cmake_minimum_required(VERSION 2.8.6) 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}) list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH})
include(DuneMacros) include(DuneMacros)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment