Skip to content

Commit c26b52d

Browse files
committed
Minor correction in LibTCC install script.
1 parent 348de27 commit c26b52d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cmake/InstallLibTCC.cmake

+3-5
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,10 @@ install(FILES
101101
)
102102

103103
# Header files
104-
file(GLOB LIBTCC_RUNTIME_INCLUDE_FILES "${LIBTTC_RUNTIME_INCLUDE_PATH}/*.h")
105-
106-
install(FILES
107-
${LIBTCC_RUNTIME_INCLUDE_FILES}
104+
install(DIRECTORY
105+
${LIBTTC_RUNTIME_INCLUDE_PATH}/
108106
DESTINATION ${INSTALL_INCLUDE}
109-
COMPONENT dev
107+
COMPONENT runtime
110108
)
111109

112110
set(LIBTCC_INCLUDE_DIR "${LIBTCC_INSTALL_PREFIX}/include")

0 commit comments

Comments
 (0)