Skip to content

Commit

Permalink
Fix build when systemsemaphore is disabled
Browse files Browse the repository at this point in the history
Change-Id: I508edd50f4fa8a799dcfd746a0a916e3e39be84d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
  • Loading branch information
Jari Helaakoski committed Feb 7, 2024
1 parent cbc6ee0 commit 600ac7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/corelib/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ qt_feature("poll_select" PRIVATE
qt_feature_definition("poll_select" "QT_NO_NATIVE_POLL")
qt_feature("posix_sem" PRIVATE
LABEL "POSIX semaphores"
CONDITION TEST_posix_sem
CONDITION TEST_posix_sem AND QT_FEATURE_systemsemaphore
)
qt_feature("posix_shm" PRIVATE
LABEL "POSIX shared memory"
Expand All @@ -577,7 +577,7 @@ qt_feature("syslog" PRIVATE
)
qt_feature("sysv_sem" PRIVATE
LABEL "System V / XSI semaphores"
CONDITION TEST_sysv_sem
CONDITION TEST_sysv_sem AND QT_FEATURE_systemsemaphore
)
qt_feature("sysv_shm" PRIVATE
LABEL "System V / XSI shared memory"
Expand Down

0 comments on commit 600ac7b

Please sign in to comment.