Minor correction in LibTCC install script.
@@ -101,12 +101,10 @@ install(FILES
)
# Header files
-file(GLOB LIBTCC_RUNTIME_INCLUDE_FILES "${LIBTTC_RUNTIME_INCLUDE_PATH}/*.h")
-
-install(FILES
- ${LIBTCC_RUNTIME_INCLUDE_FILES}
+install(DIRECTORY
+ ${LIBTTC_RUNTIME_INCLUDE_PATH}/
DESTINATION ${INSTALL_INCLUDE}
- COMPONENT dev
+ COMPONENT runtime
)
set(LIBTCC_INCLUDE_DIR "${LIBTCC_INSTALL_PREFIX}/include")
