Dear Dumux community,
With my colleagues, we are trying to couple DUMUX with Phreeqc. We are
not specialist with cmake and we have some difficulties in the
compilation process. We tried to use the Find Packages option.
We started to build a project phreeqc with duneproject command. Then we
modified the PhreeqcMacros.cmake file in
phreeqc/cmake/modules and created the FindPhreeqcRM.cmake file (both
files are enclosed).
We can mention that the library libphreeqcrm is present in /usr/lib and
the file PhreeqcRM.h is present in /usr/include
Unfortunately, when we use the command ./dune-common/bin/dunecontrol
--opts=cmake.opts all, we obtain the following information
-- The following REQUIRED packages have not been found:
* PhreeqcRM
Can you please help us by explaining how we could do?
Thanks in advance.
Regards
Etienne
# File for module specific CMake tests.
find_package(PhreeqcRM REQUIRED)
include_directories(${PhreeqcRM_INCLUDE_DIRS})
set(LIBS ${LIBS} ${PhreeqcRM_LIBRARIES}) find_path(PhreeqcRM_INCLUDE_DIR PhreeqcRM.h)
find_library(PhreeqcRM_LIBRARY libphreeqcrm)
set(PhreeqcRM_LIBRARIES ${PhreeqcRM_LIBRARY})
set(PhreeqcRM_INCLUDE_DIRS ${PhreeqcRM_INCLUDE_DIR})_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux