From e7b87e5d3e28627cf50f94dd5163ebb1c6ff8b1c Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 24 Jan 2018 01:19:44 +0000 Subject: [PATCH] Update CMakeLists.txt for build fix on Windows --- tools/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 331f83c0..886d4549 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -118,7 +118,7 @@ if(HAVE_OPENGL) endif() add_executable(tiffgt tiffgt.c) - target_link_libraries(tiffgt tiff ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES}) + target_link_libraries(tiffgt tiff port ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES}) install(TARGETS tiffgt RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}")