summaryrefslogtreecommitdiff
blob: e7b17dd1119a1108383c99a8c80a43ec9d394b6e (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}
+	ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
 )
+
+if(BUILD_PORT_MONITORS)
+	install(TARGETS
+	tcp-portmon
+	RUNTIME DESTINATION bin
+	LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+	ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+)
+endif(BUILD_PORT_MONITORS)