We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1927010 + 7f1114d commit b7ff13bCopy full SHA for b7ff13b
3rdparty/openexr/CMakeLists.txt
@@ -6,9 +6,12 @@
6
project(openexr CXX)
7
8
if(UNIX)
9
- set(HAVE_PTHREAD 1)
10
- include(CheckIncludeFile)
11
- check_include_file(semaphore.h HAVE_POSIX_SEMAPHORES)
+ if(APPLE)
+ set(HAVE_POSIX_SEMAPHORES 0) # Unnamed semaphores are not supported: https://github.com/opencv/opencv/issues/9361
+ else()
12
+ include(CheckIncludeFile)
13
+ check_include_file(semaphore.h HAVE_POSIX_SEMAPHORES)
14
+ endif()
15
endif()
16
17
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/IlmBaseConfig.h.cmakein"
0 commit comments