summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAdrian Graber <adrian@adriangraber.com>2021-07-05 20:02:44 +0200
committerAdrian Graber <adrian@adriangraber.com>2021-07-13 00:50:49 +0200
commitca5d3c881133d1fb3c2d9af16de81b63304bc88f (patch)
treeaf569cf2d15c508cbdbd700bcd35ad3aa82da851 /src/CMakeLists.txt
parent02ec56e8f70ab0fda5092d3455f76dcbb8825cff (diff)
Replace GTA_SWITCH macro and use GAMEPAD_MENU
* Replace GTA_SWITCH macro with __SWITCH__ for platform specific stuff and GTA_HANDHELD for the rest (which could be used by other ports) * Use GAMEPAD_MENU on GTA_HANDHELD, which will replace the usual controller setup (which contains some useless features for handhelds) * Fix some identation inconsistencies * Disable PC_PLAYER_CONTROLS on GTA_HANDHELD builds
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 67dfb325..2989c145 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -149,10 +149,6 @@ endif()
# Build Nintendo Switch binaries
if(NINTENDO_SWITCH)
- target_compile_definitions(${EXECUTABLE} PRIVATE
- GTA_SWITCH
- )
-
# Needed for OpenAL-Soft
target_link_libraries(${EXECUTABLE} PRIVATE
openal # HACK - something broke with latest cmake