Update CMakeLists.txt for build fix on Windows

This commit is contained in:
Andrea 2018-01-24 01:19:44 +00:00
parent 070abb3aae
commit e7b87e5d3e

View File

@ -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}")