Skip to content

Commit 3b1317e

Browse files
committed
[build][cmake] removed redundancy when BSD systems
1 parent 3b83e58 commit 3b1317e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/LibraryConfigurations.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ if (${PLATFORM} MATCHES "Desktop")
4747
set(OPENGL_LIBRARIES "GL")
4848
endif ()
4949

50-
set(LIBS_PRIVATE atomic pthread ${OPENGL_LIBRARIES} ${OSS_LIBRARY})
50+
set(LIBS_PRIVATE pthread ${OPENGL_LIBRARIES} ${OSS_LIBRARY})
5151
set(LIBS_PUBLIC m)
5252

5353
if ("${CMAKE_SYSTEM_NAME}" MATCHES "(Net|Open)BSD")
5454
find_library(OSS_LIBRARY ossaudio)
55-
set(LIBS_PRIVATE pthread ${OPENGL_LIBRARIES} ${OSS_LIBRARY})
56-
set(LIBS_PUBLIC m)
55+
else ()
56+
set(LIBS_PRIVATE ${LIBS_PRIVATE} atomic)
5757
endif ()
5858

5959
if (NOT "${CMAKE_SYSTEM_NAME}" MATCHES "(Net|Open)BSD" AND USE_AUDIO)

0 commit comments

Comments
 (0)