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.
1 parent 78ec0f3 commit 1be5cf0Copy full SHA for 1be5cf0
CMakeLists.txt
@@ -185,14 +185,14 @@ target_compile_definitions(lslobj PRIVATE
185
)
186
187
# platform specific configuration
188
-if(UNIX)
+if(UNIX AND NOT APPLE)
189
include(CheckSymbolExists)
190
# check that clock_gettime is present in the stdlib, link against librt otherwise
191
check_symbol_exists(clock_gettime time.h HAS_GETTIME)
192
if(NOT HAS_GETTIME)
193
target_link_libraries(lslobj PRIVATE rt)
194
endif()
195
- if(LSL_DEBUGLOG AND NOT APPLE)
+ if(LSL_DEBUGLOG)
196
target_link_libraries(lslobj PRIVATE dl)
197
198
elseif(WIN32)
0 commit comments