We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1228b6 commit 3d82bf8Copy full SHA for 3d82bf8
CMakeLists.txt
@@ -432,6 +432,9 @@ if (USE_JPEG)
432
find_package(JPEG REQUIRED)
433
add_definitions(-DJPEGLIB)
434
include_directories(${JPEG_INCLUDE_DIR})
435
+ if(USE_GUI)
436
+ target_link_libraries(nggui INTERFACE ${JPEG_LIBRARIES})
437
+ endif(USE_GUI)
438
endif (USE_JPEG)
439
440
#######################################################################
0 commit comments