mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-06 02:30:49 +05:00
Patch to fix build with jpeg enabled
Issue #210 Bug https://bugs.gentoo.org/947728 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
parent
d1228b6ce9
commit
3d82bf8836
@ -432,6 +432,9 @@ if (USE_JPEG)
|
||||
find_package(JPEG REQUIRED)
|
||||
add_definitions(-DJPEGLIB)
|
||||
include_directories(${JPEG_INCLUDE_DIR})
|
||||
if(USE_GUI)
|
||||
target_link_libraries(nggui INTERFACE ${JPEG_LIBRARIES})
|
||||
endif(USE_GUI)
|
||||
endif (USE_JPEG)
|
||||
|
||||
#######################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user