Skip to content

Commit

Permalink
fix system filter in premake5 build script (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
izarif authored Jun 30, 2021
1 parent 4c6d73f commit dfe0dcb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/platform/nix/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ project "OpenLara"

files { "main.cpp", "../../libs/stb_vorbis/stb_vorbis.c", "../../libs/minimp3/minimp3.cpp", "../../libs/tinf/tinflate.c" }

filter "system:Linux"
filter "toolset:gcc or clang"
links { "X11", "GL", "m", "pthread", "pulse-simple", "pulse" }
defines { "POSIX_THREADS", "POSIX_READER_WRITER_LOCKS" }
filter { "system:Linux", "toolset:gcc or clang" }
links { "X11", "GL", "m", "pthread", "pulse-simple", "pulse" }
defines { "POSIX_THREADS", "POSIX_READER_WRITER_LOCKS" }

filter "configurations:Debug"
defines { "DEBUG" }
Expand Down

0 comments on commit dfe0dcb

Please sign in to comment.