#1614 cmake: fails to find dune.module in .../lib64/dunecontrol/
Metadata
Property | Value |
---|---|
Reported by | Ansgar Burchardt (burchardt@igpm.rwth-aachen.de) |
Reported at | Apr 13, 2015 08:09 |
Type | Bug Report |
Version | 2.3 |
Operating System | Unspecified / All |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Apr 16, 2015 08:52 |
Description
Hi,
the CMake build system fails to find dune.module if the file is installed to "lib64" instead of "lib":
-- Dependencies for dune-fufem: dune-common (>= 2.3);dune-geometry (>=
2.3);dune-grid (>= 2.3);dune-istl (>= 2.3);dune-localfunctions (>= 2.3)
-- Suggestions for dune-fufem: dune-functions;dune-alugrid
CMake Error at
/share/64/gcc-4.9.1/dune-2.3.1/share/dune/cmake/modules/DuneMacros.cmake:195
(message):
Could not find dune.module file for module dune-common in
/share/64/gcc-4.9.1/dune-2.3.1,
/share/64/gcc-4.9.1/dune-2.3.1/lib/dunecontrol/dune-common/
Call Stack (most recent call first):
/share/64/gcc-4.9.1/dune-2.3.1/share/dune/cmake/modules/DuneMacros.cmake:349
(find_dune_package)
/share/64/gcc-4.9.1/dune-2.3.1/share/dune/cmake/modules/DuneMacros.cmake:392
(dune_process_dependency_leafs)
/share/64/gcc-4.9.1/dune-2.3.1/share/dune/cmake/modules/DuneMacros.cmake:416
(dune_create_dependency_leafs)
/share/64/gcc-4.9.1/dune-2.3.1/share/dune/cmake/modules/DuneMacros.cmake:545
(dune_create_dependency_tree)
CMakeLists.txt:12 (dune_project)
The problematic part seem to be lines 171-172 in dune-common/cmake/modules/DuneMacros.cmake:
foreach(_dune_module_file ${${module}_PREFIX}/dune.module
${${module}_PREFIX}/lib/dunecontrol/${module}/dune.module)
which fails if dunecontrol/ is installed in lib64/ instead of lib/.
Ansgar