Skip to content

Commit

Permalink
yet another problem with windows...
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesDuvert committed Jan 3, 2024
1 parent c9812da commit 6f555fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ target_link_libraries(gdl antlr whereami) # link antlr against gdl. added librt
if (MINGW)
target_link_libraries(gdl ws2_32)
endif (MINGW)
if (NOT APPLE AND NOT OSX)
if (NOT APPLE AND NOT OSX AND NOT MINGW)
target_link_libraries(gdl rt) # link antlr against gdl. added librt for mmap (unix only, not osx, apparently)
endif (NOT APPLE AND NOT OSX)
target_link_libraries(gdl ${LIBRARIES})
Expand Down

0 comments on commit 6f555fb

Please sign in to comment.