Browse Source

Merge pull request #12227 from jbeich/gamemode

cmake: unbreak build on FreeBSD by re-enabling gamemode
nce_cpp
liamwhite 2 years ago
committed by GitHub
parent
commit
360381aaaf
  1. 2
      externals/CMakeLists.txt
  2. 2
      src/common/CMakeLists.txt

2
externals/CMakeLists.txt

@ -193,7 +193,7 @@ if (ANDROID)
endif()
endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (UNIX AND NOT APPLE)
add_subdirectory(gamemode)
endif()

2
src/common/CMakeLists.txt

@ -182,7 +182,7 @@ if(ANDROID)
)
endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (UNIX AND NOT APPLE)
target_sources(common PRIVATE
linux/gamemode.cpp
linux/gamemode.h

Loading…
Cancel
Save