aboutsummaryrefslogtreecommitdiff
path: root/src/sfx
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-12-08 16:31:24 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-12-08 17:00:23 +0100
commit4da7a3e44d2bbd7b21ae05c7b6604748e7227227 (patch)
treecbb81eed24dd2bed75998e4f8ffb803dd479a6df /src/sfx
parentde3532bd6b685c66015202a48d53e1b8fa4900f5 (diff)
downloadjancity-4da7a3e44d2bbd7b21ae05c7b6604748e7227227.tar.gz
wip2
Diffstat (limited to 'src/sfx')
-rw-r--r--src/sfx/CMakeLists.txt18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/sfx/CMakeLists.txt b/src/sfx/CMakeLists.txt
index f503408..f36931d 100644
--- a/src/sfx/CMakeLists.txt
+++ b/src/sfx/CMakeLists.txt
@@ -17,21 +17,3 @@ add_library(sfx ${src})
target_include_directories(sfx PUBLIC ${inc})
target_include_directories(sfx PRIVATE ${privinc})
target_link_libraries(sfx PUBLIC ${deps} PRIVATE ${privdeps})
-
-if(PS1_BUILD)
- set(modes VMODE_PAL VMODE_NTSC)
-
- if(VIDEO_MODE)
- if(NOT "${VIDEO_MODE}" IN_LIST modes)
- message(FATAL_ERROR "Invalid video mode ${VIDEO_MODE}. Available options:\n"
- "${modes}\n"
- "Run CMake again using one of the available video modes e.g.: cmake .. -DVIDEO_MODE=VMODE_PAL")
- endif()
-
- target_compile_definitions(sfx PRIVATE VIDEO_MODE=${VIDEO_MODE})
- else()
- message(FATAL_ERROR "Please define video mode. Available options:\n"
- "${modes}\n"
- "Run CMake again using one of the available video modes e.g.: cmake .. -DVIDEO_MODE=VMODE_PAL")
- endif()
-endif()