[C] Made install instructions more general

This commit is contained in:
seleznevae 2019-05-26 10:40:58 +03:00
parent f92e75177c
commit bb6002ec0b

View File

@ -29,7 +29,7 @@ install(
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
) )
install(FILES fort.h fort.hpp DESTINATION include) install(FILES fort.h fort.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
configure_file(libfort.pc.in libfort.pc @ONLY) configure_file(libfort.pc.in libfort.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libfort.pc DESTINATION lib/pkgconfig) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libfort.pc DESTINATION lib/pkgconfig)