File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ set(LIBTCC_TARGET libtcc-depends)
7777set (LIBTCC_COMMIT_SHA "da11cf651576f94486dbd043dbfcde469e497574" )
7878set (LIBTTC_LIBRARY_NAME "${CMAKE_SHARED_LIBRARY_PREFIX} tcc${CMAKE_SHARED_LIBRARY_SUFFIX} " )
7979set (LIBTTC_LIBRARY_PATH "${PROJECT_OUTPUT_DIR} /${LIBTTC_LIBRARY_NAME} " )
80- set (LIBTTC_RUNTIME_INCLUDE_PATH "${LIBTCC_INSTALL_PREFIX} /lib/tcc/include" )
80+ set (LIBTTC_RUNTIME_PATH "${LIBTCC_INSTALL_PREFIX} /lib/tcc" )
81+ set (LIBTTC_RUNTIME_INCLUDE_PATH "${LIBTTC_RUNTIME_PATH} /include" )
8182
8283# LibTCC Proejct
8384ExternalProject_Add(${LIBTCC_TARGET}
@@ -100,6 +101,14 @@ install(FILES
100101 COMPONENT runtime
101102)
102103
104+ # Runtime files
105+ install (DIRECTORY
106+ ${LIBTTC_RUNTIME_PATH} /
107+ DESTINATION ${INSTALL_LIB}
108+ COMPONENT runtime
109+ FILES_MATCHING PATTERN "*.a" PATTERN "*.o"
110+ )
111+
103112# Header files
104113install (DIRECTORY
105114 ${LIBTTC_RUNTIME_INCLUDE_PATH} /
You can’t perform that action at this time.
0 commit comments