1234567891011121314151617 |
- macro(rvc_install_library _target _runtime_path, _archive_path _library_path _component)
- if(MSVC)
- install(TARGETS ${_target}
- RUNTIME DESTINATION "${_runtime_path}"
- ARCHIVE DESTINATION "${_archive_path}"
- LIBRARY DESTINATION "${_library_path}"
- COMPONENT ${_component})
- else(MSVC)
- install(TARGETS ${_target}
- RUNTIME DESTINATION "${_runtime_path}"
- ARCHIVE DESTINATION "${_archive_path}"
- LIBRARY DESTINATION "${_runtime_path}"
- COMPONENT ${_component})
- endif(MSVC)
- endmacro(rvc_install_library)
|