-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
When using pkgconfig to configure progress with bml there is a "clash" with the compiler wrappers used in the machine environment.
It seems that pkgconfig is not able to identify the wrapper that was used to compile, or, at least
cmake complains about the compilers been broken when pkgconfig path is set.
A way to make it work is to comment out line 75 in CMakeList.txt (#include(FindPkgConfig)) and
line 77 (#pkg_check_modules(BML bml REQUIRED)) and add the following extra fc and link flags to the configuration script:
export EXTRA_FCFLAGS=${DEXTRA_FCFLAGS:="-I$BML_LIB/../include"}
export EXTRA_LINK_FLAGS=${DEXTRA_LINK_FLAGS:="-L$BML_LIB/ -lbml_fortran -lbml"}
Is there any more elegant way of avoiding this problem?