We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11055c commit 973b823Copy full SHA for 973b823
CuteLogger/CMakeLists.txt
@@ -6,6 +6,8 @@ FIND_PACKAGE(Qt5Core REQUIRED)
6
7
ADD_DEFINITIONS(-DCUTELOGGER_LIBRARY)
8
9
+INCLUDE(GNUInstallDirs)
10
+
11
INCLUDE_DIRECTORIES(BEFORE include)
12
13
SET(sources
@@ -39,4 +41,4 @@ SET(library_target CuteLogger)
39
41
40
42
ADD_LIBRARY(${library_target} SHARED ${sources} ${includes})
43
TARGET_LINK_LIBRARIES(${library_target} Qt5::Core)
-INSTALL(TARGETS ${library_target} DESTINATION lib)
44
+INSTALL(TARGETS ${library_target} DESTINATION ${CMAKE_INSTALL_LIBDIR})
0 commit comments