1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
--- libindi-0.9.7.old/CMakeLists.txt 2013-12-14 15:49:09.302518454 +0100
+++ libindi-0.9.7/CMakeLists.txt 2013-12-14 16:03:35.095501743 +0100
@@ -204,7 +204,7 @@
add_executable(indi_lx200generic ${lx200generic_SRCS})
-target_link_libraries(indi_lx200generic indidriver ${NOVA_LIBRARIES} m )
+target_link_libraries(indi_lx200generic indidriver ${NOVA_LIBRARIES} m ${ZLIB_LIBRARIES})
install(TARGETS indi_lx200generic RUNTIME DESTINATION bin )
@@ -247,7 +247,7 @@
add_executable(indi_celestron_gps ${celestrongps_SRCS})
-target_link_libraries(indi_celestron_gps indidriver ${NOVA_LIBRARIES} m )
+target_link_libraries(indi_celestron_gps indidriver ${NOVA_LIBRARIES} m ${ZLIB_LIBRARIES})
install(TARGETS indi_celestron_gps RUNTIME DESTINATION bin )
@@ -602,7 +602,7 @@
add_executable(tutorial_one ${tutorialone_SRCS})
-target_link_libraries(tutorial_one indidriver m)
+target_link_libraries(tutorial_one indidriver m ${ZLIB_LIBRARIES})
########### Tutorial two ##############
set(tutorialtwo_SRCS
@@ -612,7 +612,7 @@
add_executable(tutorial_two ${tutorialtwo_SRCS})
-target_link_libraries(tutorial_two indidriver m)
+target_link_libraries(tutorial_two indidriver m ${ZLIB_LIBRARIES})
########### Tutorial three ##############
if (CFITSIO_FOUND)
@@ -623,7 +623,7 @@
add_executable(tutorial_three ${tutorialthree_SRCS})
-target_link_libraries(tutorial_three indidriver m)
+target_link_libraries(tutorial_three indidriver m ${ZLIB_LIBRARIES})
endif (CFITSIO_FOUND)
########### Tutorial four ##############
set(tutorialfour_SRCS
@@ -633,7 +633,7 @@
add_executable(tutorial_four ${tutorialfour_SRCS})
-target_link_libraries(tutorial_four indidriver m)
+target_link_libraries(tutorial_four indidriver m ${ZLIB_LIBRARIES})
########### Tutorial five - dome driver ##############
set(tutorialdome_SRCS
@@ -643,7 +643,7 @@
add_executable(tutorial_dome ${tutorialdome_SRCS})
-target_link_libraries(tutorial_dome indidriver)
+target_link_libraries(tutorial_dome indidriver ${ZLIB_LIBRARIES})
########### Tutorial five - rain driver ##############
set(tutorialrain_SRCS
@@ -653,7 +653,7 @@
add_executable(tutorial_rain ${tutorialrain_SRCS})
-target_link_libraries(tutorial_rain indidriver)
+target_link_libraries(tutorial_rain indidriver ${ZLIB_LIBRARIES})
########### Client Tutorial ##############
set(tutorialclient_SRCS
|