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

Use GNU install directories and activate new policy for FILE GLOB_RECURSE

[[Imported from SVN: r6894]]
parent 923c12e5
No related branches found
No related tags found
No related merge requests found
......@@ -310,6 +310,7 @@ macro(dune_project)
else(_mod_cmake)
message(STATUS "There are no tests for module ${DUNE_MOD_NAME}.")
endif(_mod_cmake)
include(GNUInstallDirs)
endmacro(dune_project MODULE_DIR)
# create a new config.h file and overwrite the existing one
......
#Do not follow symlinks during FILE GLOB_RECURSE
cmake_policy(SET CMP0009 NEW)
file(GLOB_RECURSE makefiles RELATIVE ${RELPATH} "CMakeLists.txt")
foreach(_file ${makefiles})
string(REGEX MATCH ".*/test" _testdir ${_file})
......
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