blob: 79ae0f902e55c7701f4034ec4be8561a13574026 (
plain)
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
|
--- libindi-0.9.6/CMakeLists.txt 2012-12-01 20:41:05.374258103 +0100
+++ libindi-0.9.6.new/CMakeLists.txt 2012-12-01 20:42:42.365770665 +0100
@@ -633,7 +633,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
@@ -643,7 +643,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)
@@ -654,7 +654,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
@@ -664,7 +664,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
@@ -674,7 +674,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
@@ -684,7 +684,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
|