blob: 8b9bbf8fbc30427dedb34d932a2cda033524fa28 (
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
|
file (GLOB sources "*.cpp")
add_executable (showtiff ${sources})
target_link_libraries (showtiff
dsurf
lex
image
stats
timer
${TIFF_LIBRARY}
${OPENGL_gl_LIBRARY}
${OPENGL_glu_LIBRARY}
${GLUT_glut_LIBRARY}
)
if (WIN32)
target_link_libraries (showtiff
gdi32
user32
kernel32
)
elseif (APPLE)
target_link_libraries (showtiff
${CARBON_LIBRARY}
)
else ()
target_link_libraries (showtiff
${X11_X11_LIB}
)
endif ()
|