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

Revert "[CMake] Add search function to find dune-common in out-of-source build...

Revert "[CMake] Add search function to find dune-common in out-of-source build invoked w/o dunecontrol."

This reverts commit 12650.

[[Imported from SVN: r12696]]
parent e978bae3
No related branches found
No related tags found
No related merge requests found
......@@ -7,14 +7,6 @@ set(BUILD_DOCS 1)
# general stuff
cmake_minimum_required(VERSION 2.8.6)
# guess build tree of dune-common
if(NOT (dune-common_DIR OR dune-common_ROOT OR
"${CMAKE_PREFIX_PATH}" MATCHES ".*dune-common.*"))
string(REPLACE ${CMAKE_PROJECT_NAME} dune-common dune-common_DIR
${PROJECT_BINARY_DIR})
endif()
#find dune-common and set the module path
find_package(dune-common)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment