summaryrefslogtreecommitdiff
blob: bce3853c2b0e4f2f3e10290849a451d809043213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- conky-1.10.8/src/CMakeLists.txt	2019-03-09 08:24:26.315879386 +0100
+++ conky-1.10.8/src/CMakeLists.txt	2019-03-09 08:24:38.555878656 +0100
@@ -220,6 +220,15 @@
 install(TARGETS
 	conky
 	RUNTIME DESTINATION bin
-	LIBRARY DESTINATION lib
-	ARCHIVE DESTINATION lib
+	LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky
+	ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky
 )
+
+if(BUILD_PORT_MONITORS)
+	install(TARGETS
+	tcp-portmon
+	RUNTIME DESTINATION bin
+	LIBRARY DESTINATION ${LIB_INSTALL_DIR}/conky
+	ARCHIVE DESTINATION ${LIB_INSTALL_DIR}/conky
+)
+endif(BUILD_PORT_MONITORS)