Linking of mshrable fails due to missing flag

Issue #64 resolved
Miguel de Benito Delgado created an issue

After a clean docker pull quay.io/fenicsproject/dev-env:latest and a pull of mshr @ f0e07ea, building of mshr fails at the linking of mshrable because of a missing -lboost_program_options:

/usr/bin/ld: CMakeFiles/mshrable.dir/app/mshrable.cpp.o: undefined reference to symbol '_ZN5boost15program_options29options_description_easy_initclEPKcS3_'
//usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.58.0: error adding symbols: DSO missing from command line

The problem is that ${Boost_LIBRARIES} is overwritten after find_package(DOLFIN REQUIRED) in CMakeLists.txt.

Pull request follows shortly

Comments (1)

  1. Log in to comment