Skip to content

Commit

Permalink
Fixed potential linker errors with mingw, as it isn't MSVC and it isn…
Browse files Browse the repository at this point in the history
…'t APPLE.
  • Loading branch information
archshift committed Oct 23, 2014
1 parent 6bcc2c1 commit 8ccb729
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/OSSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ SET (HDRS
if(NOT MSVC)
add_library(OSSupport ${SRCS} ${HDRS})

if(NOT APPLE)
target_link_libraries(OSSupport rt)
endif()

if(UNIX)
if(NOT APPLE)
target_link_libraries(OSSupport rt)
endif()

target_link_libraries(OSSupport pthread)
endif()
endif()

0 comments on commit 8ccb729

Please sign in to comment.