Skip to content
Snippets Groups Projects
Commit bc8ecf85 authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 1791

Revision  r1791
.----------------------
Renamed CMAKE_(SOURCE|BINARY)_DIR to PROJECT_(SOURCE|BINARY)_DIR to let people build dune modules as subproject of another project.
.----------------------


[[Imported from SVN: r1865]]
parents 13a18919 927d5d7c
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.8.6)
#find dune-common and set the module path
find_package(dune-common)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH}
"${CMAKE_SOURCE_DIR}/cmake/modules")
"${PROJECT_SOURCE_DIR}/cmake/modules")
#include the dune macros
include(DuneMacros)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment