mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-06 10:40:48 +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)
|
find_package(JPEG REQUIRED)
|
||||||
add_definitions(-DJPEGLIB)
|
add_definitions(-DJPEGLIB)
|
||||||
include_directories(${JPEG_INCLUDE_DIR})
|
include_directories(${JPEG_INCLUDE_DIR})
|
||||||
|
if(USE_GUI)
|
||||||
|
target_link_libraries(nggui INTERFACE ${JPEG_LIBRARIES})
|
||||||
|
endif(USE_GUI)
|
||||||
endif (USE_JPEG)
|
endif (USE_JPEG)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user