Skip to content

Commit

Permalink
fix cmake error on centos
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBeau committed Apr 11, 2024
1 parent 470d496 commit 61b5ba8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ TARGET_LINK_LIBRARIES(qlibc PRIVATE ${CMAKE_THREAD_LIBS_INIT})
TARGET_LINK_LIBRARIES(qlibcext-static PRIVATE ${CMAKE_THREAD_LIBS_INIT})
TARGET_LINK_LIBRARIES(qlibcext PUBLIC qlibc)

INSTALL(DIRECTORY ${qlibc_SOURCE_DIR}/include/qlibc DESTINATION include)
INSTALL(TARGETS qlibc LIBRARY DESTINATION lib)
INSTALL(TARGETS qlibc-static LIBRARY DESTINATION lib)
INSTALL(TARGETS qlibcext LIBRARY DESTINATION lib)
INSTALL(TARGETS qlibcext-static LIBRARY DESTINATION lib)
SET(QLIBC_HEADER "${qlibc_SOURCE_DIR}/include/qlibc")
INSTALL(DIRECTORY ${QLIBC_HEADER} DESTINATION include)
INSTALL(TARGETS qlibc LIBRARY DESTINATION lib)
INSTALL(TARGETS qlibcext LIBRARY DESTINATION lib)
INSTALL(TARGETS qlibc-static ARCHIVE DESTINATION lib)
INSTALL(TARGETS qlibcext-static ARCHIVE DESTINATION lib)

0 comments on commit 61b5ba8

Please sign in to comment.