ComplexLibrary.cmake 537 B

1234567891011121314151617
  1. macro(rvc_install_library _target _runtime_path, _archive_path _library_path _component)
  2. if(MSVC)
  3. install(TARGETS ${_target}
  4. RUNTIME DESTINATION "${_runtime_path}"
  5. ARCHIVE DESTINATION "${_archive_path}"
  6. LIBRARY DESTINATION "${_library_path}"
  7. COMPONENT ${_component})
  8. else(MSVC)
  9. install(TARGETS ${_target}
  10. RUNTIME DESTINATION "${_runtime_path}"
  11. ARCHIVE DESTINATION "${_archive_path}"
  12. LIBRARY DESTINATION "${_runtime_path}"
  13. COMPONENT ${_component})
  14. endif(MSVC)
  15. endmacro(rvc_install_library)