Skip to content
Snippets Groups Projects
Commit 53b9fc8c authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[cmake][bugfix] Correctly determine scripts directory with dune_module_path

The previous implementation assumed that dune-common exports the path,
but it does not.
parent a77fe226
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ function(dune_module_path)
# Set the requested paths for the cmake script path
if(PATH_SCRIPT_DIR)
set(IF_CURRENT_MOD ${CMAKE_SOURCE_DIR}/cmake/scripts)
set(IF_NOT_CURRENT_MOD ${${PATH_MODULE}_SCRIPT_DIR})
set(IF_NOT_CURRENT_MOD ${${PATH_MODULE}_PREFIX}/cmake/scripts)
endif()
# Set the requested paths for the build directory
......
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