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

Renamed CMAKE_(SOURCE|BINARY)_DIR to PROJECT_(SOURCE|BINARY)_DIR to let people...

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

[[Imported from SVN: r1791]]
parent ca240483
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.8.6) ...@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.8.6)
#find dune-common and set the module path #find dune-common and set the module path
find_package(dune-common) find_package(dune-common)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH} list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH}
"${CMAKE_SOURCE_DIR}/cmake/modules") "${PROJECT_SOURCE_DIR}/cmake/modules")
#include the dune macros #include the dune macros
include(DuneMacros) 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