From 4da7a3e44d2bbd7b21ae05c7b6604748e7227227 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 8 Dec 2022 16:31:24 +0100 Subject: wip2 --- src/sfx/CMakeLists.txt | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/sfx') 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() -- cgit v1.2.3