From bb6002ec0b0cf04a528d434944b617f5816dd633 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sun, 26 May 2019 10:40:58 +0300 Subject: [PATCH] [C] Made install instructions more general --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 0d60da1..3a411b9 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -29,7 +29,7 @@ install( 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) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libfort.pc DESTINATION lib/pkgconfig)