Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE.
This commit is contained in:
parent
6bcc2c187a
commit
8ccb729504
@ -38,11 +38,11 @@ SET (HDRS
|
|||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_library(OSSupport ${SRCS} ${HDRS})
|
add_library(OSSupport ${SRCS} ${HDRS})
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
if(NOT APPLE)
|
if(NOT APPLE)
|
||||||
target_link_libraries(OSSupport rt)
|
target_link_libraries(OSSupport rt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(UNIX)
|
|
||||||
target_link_libraries(OSSupport pthread)
|
target_link_libraries(OSSupport pthread)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user