Main Lemma Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 414B

123456789101112131415161718
  1. include_directories(${CMAKE_INSTALL_PREFIX}/include)
  2. add_subdirectory("src")
  3. add_library( lemmacore ${SOURCE} )
  4. # Linking
  5. add_dependencies(lemmacore YAML-CPP)
  6. if (TINYXML_SUPPORT)
  7. add_dependencies(lemmacore TINYXML2)
  8. endif()
  9. if (MATIO_SUPPORT)
  10. add_dependencies(lemmacore MATIO)
  11. endif()
  12. if (VTK_SUPPORT)
  13. target_link_libraries(lemmacore ${VTK_LIBRARIES})
  14. endif()
  15. target_link_libraries(lemmacore "yaml-cpp")