mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
fix build with shared jpeg library (#701)
This commit is contained in:
parent
49fd4acef8
commit
b5e49df180
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ if(USE_INTERNAL_JPEG)
|
|||
target_link_libraries(omohrenderer_common PRIVATE jpeg8)
|
||||
target_compile_definitions(omohrenderer_common PUBLIC USE_INTERNAL_JPEG)
|
||||
else()
|
||||
find_package(JPEG REQUIRED)
|
||||
target_include_directories(omohrenderer_common PUBLIC ${JPEG_INCLUDE_DIRS})
|
||||
target_link_libraries(omohrenderer_common PRIVATE ${JPEG_LIBRARIES})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue