The include directory was set incorrectly in PKG_CFLAGS (missing the
installation prefix) when GMX_EXTERNAL_BOOST was off.
Change-Id: I01fe1165befb3862452705eab85106975074f377
add_definitions(-DBOOST_NO_TYPEID)
# TODO: Propagate the above settings to the installed CMakeFiles.txt template
# (from share/template/)
- set(PKG_CFLAGS "${PKG_CFLAGS} -DBOOST_NO_TYPEID -I${INCL_INSTALL_DIR}/gromacs/external/boost")
+ set(PKG_CFLAGS "${PKG_CFLAGS} -DBOOST_NO_TYPEID -I${CMAKE_INSTALL_PREFIX}/${INCL_INSTALL_DIR}/gromacs/external/boost")
if (NOT GMX_BUILD_MDRUN_ONLY)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/external/boost/boost
DESTINATION ${INCL_INSTALL_DIR}/gromacs/external/boost