1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-07-31 18:30:19 +02:00

fix system filter in premake5 build script (#359)

This commit is contained in:
Aydar Zarifullin
2021-07-01 03:52:07 +04:00
committed by GitHub
parent 4c6d73fd0d
commit dfe0dcb3f2

View File

@@ -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" }