aboutsummaryrefslogtreecommitdiff
path: root/src/sfx/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfx/CMakeLists.txt')
-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()