Skip to content

Commit 3d82bf8

Browse files
committed
Patch to fix build with jpeg enabled
Issue NGSolve#210 Bug https://bugs.gentoo.org/947728 Signed-off-by: Alexey Shvetsov <[email protected]>
1 parent d1228b6 commit 3d82bf8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,9 @@ if (USE_JPEG)
432432
find_package(JPEG REQUIRED)
433433
add_definitions(-DJPEGLIB)
434434
include_directories(${JPEG_INCLUDE_DIR})
435+
if(USE_GUI)
436+
target_link_libraries(nggui INTERFACE ${JPEG_LIBRARIES})
437+
endif(USE_GUI)
435438
endif (USE_JPEG)
436439

437440
#######################################################################

0 commit comments

Comments
 (0)