diff options
Diffstat (limited to 'src/tools/showtiff/CMakeLists.txt')
-rw-r--r-- | src/tools/showtiff/CMakeLists.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/tools/showtiff/CMakeLists.txt b/src/tools/showtiff/CMakeLists.txt new file mode 100644 index 0000000..8b9bbf8 --- /dev/null +++ b/src/tools/showtiff/CMakeLists.txt @@ -0,0 +1,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 () |