mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 08:19:02 +08:00
13 lines
532 B
Diff
13 lines
532 B
Diff
diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt
|
|
--- a/dlib/CMakeLists.txt
|
|
+++ b/dlib/CMakeLists.txt
|
|
@@ -480,7 +480,7 @@
|
|
set(CMAKE_REQUIRED_LIBRARIES ${JPEG_LIBRARY})
|
|
CHECK_FUNCTION_EXISTS(jpeg_read_header LIBJPEG_IS_GOOD)
|
|
endif()
|
|
- if (JPEG_FOUND AND LIBJPEG_IS_GOOD AND NOT APPLE)
|
|
+ if (JPEG_FOUND AND LIBJPEG_IS_GOOD)
|
|
include_directories(${JPEG_INCLUDE_DIR})
|
|
set (dlib_needed_libraries ${dlib_needed_libraries} ${JPEG_LIBRARY})
|
|
else()
|