Skip to content

Commit

Permalink
Minor correction in LibTCC install script.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Nov 16, 2021
1 parent 348de27 commit c26b52d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cmake/InstallLibTCC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c26b52d

Please sign in to comment.