Add DESTINATION for PUBLIC_HEADERS targets

This commit is contained in:
Neil Hanlon 2023-08-07 21:18:43 -04:00
parent 713e444656
commit 2203a250e3
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -90,10 +90,12 @@ else()
endif() endif()
endif() endif()
include(GNUInstallDirs)
install(TARGETS libblisp libblisp_static install(TARGETS libblisp libblisp_static
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
) )
if(BLISP_BUILD_CLI) if(BLISP_BUILD_CLI)