Browse Source

Added libboost-program-options as a library to link MRMC-cpp against.

tempestpy_adaptions
dehnert 12 years ago
parent
commit
6ad9ea4900
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -117,6 +117,7 @@ else()
endif() endif()
if(Boost_FOUND) if(Boost_FOUND)
set(BOOST_PROGRAM_OPTIONS_LIBRARY "boost_program_options")
include_directories(${Boost_INCLUDE_DIRS}) include_directories(${Boost_INCLUDE_DIRS})
if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL "")) if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL ""))
@ -140,7 +141,7 @@ add_executable(MRMC-cpp ${MRMCSources} ${MRMCHeaders})
add_executable(MRMC-tests ${MRMCTestSources} ${MRMCTestHeaders}) add_executable(MRMC-tests ${MRMCTestSources} ${MRMCTestHeaders})
# Add target link deps for Pantheios # Add target link deps for Pantheios
target_link_libraries(MRMC-cpp ${PANTHEIOS_LIBRARIES})
target_link_libraries(MRMC-cpp ${PANTHEIOS_LIBRARIES} ${BOOST_PROGRAM_OPTIONS_LIBRARY})
target_link_libraries(MRMC-tests ${PANTHEIOS_LIBRARIES}) target_link_libraries(MRMC-tests ${PANTHEIOS_LIBRARIES})
# add a target to generate API documentation with Doxygen # add a target to generate API documentation with Doxygen

Loading…
Cancel
Save