Browse Source

Merge pull request #12227 from jbeich/gamemode

cmake: unbreak build on FreeBSD by re-enabling gamemode
pull/15/merge
liamwhite 2 years ago
committed by GitHub
parent
commit
3a12fe5d13
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      externals/CMakeLists.txt
  2. 2
      src/common/CMakeLists.txt

2
externals/CMakeLists.txt

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

2
src/common/CMakeLists.txt

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

Loading…
Cancel
Save