Skip to content

Commit

Permalink
Merge pull request #6 from Lihis/fix-lib-install-path
Browse files Browse the repository at this point in the history
CMakeLists.txt: fix lib install path
  • Loading branch information
n0la authored Apr 15, 2023
2 parents 4df81ef + 0090edb commit f0e8bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ ENDIF()

INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}")
ADD_LIBRARY(${TARGET} SHARED ${SOURCES} ${HEADERS})
INSTALL(TARGETS ${TARGET} DESTINATION lib)
INCLUDE(GNUInstallDirs)
INSTALL(TARGETS ${TARGET} DESTINATION ${CMAKE_INSTALL_LIBDIR})
INSTALL(FILES ${HEADERS} DESTINATION include/irc)

IF (LIBTLS_FOUND)
Expand Down

0 comments on commit f0e8bd3

Please sign in to comment.