[A] Added installation phase to library target
This commit is contained in:
parent
900d0de6c9
commit
79ce9896f4
@ -18,3 +18,15 @@ if(FORT_HAVE_WCHAR)
|
|||||||
-DFT_CONGIG_HAVE_WCHAR
|
-DFT_CONGIG_HAVE_WCHAR
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
install(
|
||||||
|
TARGETS
|
||||||
|
fort
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(FILES fort.h fort.hpp DESTINATION include)
|
||||||
|
Loading…
Reference in New Issue
Block a user