IPPL tests and Boost timer
Summary
Yesterday, I had to compile OPAL together with a student. He requires the IPPL tests since he will work on P3M.
However, missing ${Boost_LIBRARY_DIRS}
in the link_directories
command of the CMakeLists.txt of IPPL test caused the error of not finding boost_timer
.
2 Questions:
-
Is
boost_timer
really required in thetarget_link_libraries
command (e.g. here)? -
@snuverink_j You cleaned up these tests in one of the MRs of #291 (closed). You didn't get this error when compiling, right?
Steps to reproduce
Configure OPAL with: -DENABLE_IPPLTESTS=1
What is the current bug behavior?
Cannot find the boost_timer
library since -L ${BOOST_LIBRARY_DIR}
is missing when compiling.
What is the expected correct behavior?
It compiles properly.
Possible fixes
@wyssling_t and I fixed it in his fork. The corresponding commit: wyssling_t/src@e7f93454