Skip to content

Commit

Permalink
Fix Linux Build
Browse files Browse the repository at this point in the history
THANK YOU @FreeSlave
  • Loading branch information
sabianroberts committed Dec 19, 2023
1 parent 7db6ebe commit de967d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(Aura-Client)

include("CMake/helpers.cmake")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

Expand Down Expand Up @@ -202,7 +202,7 @@ elseif(UNIX)
else(APPLE)
# I wasn't able to do this in any other way.
# Things like imported targets result in linking with relative path.
set(VGUI_LINK_FLAGS "-L${CMAKE_SOURCE_DIR}/linux/release -l:vgui.so")
set(VGUI_LINK_FLAGS "-L${CMAKE_SOURCE_DIR}/linux/release -l:vgui.so -L${CMAKE_SOURCE_DIR}/linux -l:libSDL2-2.0.so.0")

# --push-state isn't supported on older compilers. I tried checking for support
# using CheckCXXCompilerFlag and CheckCXXSourceCompiles, but they were reporting
Expand Down

0 comments on commit de967d5

Please sign in to comment.