build(cmake): install the char_defs.h header file

This commit is contained in:
k4yt3x 2024-11-04 03:50:41 -05:00
parent a63b8d85b0
commit 850e0fde9c

View File

@ -418,11 +418,11 @@ if(BUILD_VIDEO2X_CLI)
install(TARGETS video2x RUNTIME DESTINATION ${INSTALL_BIN_DESTINATION}) install(TARGETS video2x RUNTIME DESTINATION ${INSTALL_BIN_DESTINATION})
endif() endif()
# Install the header file # Install the header files
install(FILES ${PROJECT_SOURCE_DIR}/include/libvideo2x/libvideo2x.h install(FILES
DESTINATION ${INSTALL_INCLUDE_DESTINATION} ${PROJECT_SOURCE_DIR}/include/libvideo2x/libvideo2x.h
) ${PROJECT_SOURCE_DIR}/include/libvideo2x/char_defs.h
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libvideo2x/version.h ${CMAKE_CURRENT_BINARY_DIR}/libvideo2x/version.h
DESTINATION ${INSTALL_INCLUDE_DESTINATION} DESTINATION ${INSTALL_INCLUDE_DESTINATION}
) )