From 850e0fde9c59cb993621a09bebf994d3a2770c6b Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Mon, 4 Nov 2024 03:50:41 -0500 Subject: [PATCH] build(cmake): install the `char_defs.h` header file --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a795e45..43cd0c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -418,11 +418,11 @@ if(BUILD_VIDEO2X_CLI) install(TARGETS video2x RUNTIME DESTINATION ${INSTALL_BIN_DESTINATION}) endif() -# Install the header file -install(FILES ${PROJECT_SOURCE_DIR}/include/libvideo2x/libvideo2x.h - DESTINATION ${INSTALL_INCLUDE_DESTINATION} -) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libvideo2x/version.h +# Install the header files +install(FILES + ${PROJECT_SOURCE_DIR}/include/libvideo2x/libvideo2x.h + ${PROJECT_SOURCE_DIR}/include/libvideo2x/char_defs.h + ${CMAKE_CURRENT_BINARY_DIR}/libvideo2x/version.h DESTINATION ${INSTALL_INCLUDE_DESTINATION} )