From 25fdba39bb683b3c51f1ddcb80ed6468cdc7b063 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 5 Oct 2021 11:19:14 -0400 Subject: [PATCH] cmake: fix indentation. --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6548095f..f01e10934 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2592,14 +2592,14 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}") # Always build SDLmain if(NOT WINDOWS_STORE) -add_library(SDL2main STATIC ${SDLMAIN_SOURCES}) -# alias target for in-tree builds -add_library(SDL2::SDL2main ALIAS SDL2main) -target_include_directories(SDL2main PUBLIC "$" $ $) -set(_INSTALL_LIBS "SDL2main") -if (NOT ANDROID) - set_target_properties(SDL2main PROPERTIES DEBUG_POSTFIX "${SDL_CMAKE_DEBUG_POSTFIX}") -endif() + add_library(SDL2main STATIC ${SDLMAIN_SOURCES}) + # alias target for in-tree builds + add_library(SDL2::SDL2main ALIAS SDL2main) + target_include_directories(SDL2main PUBLIC "$" $ $) + set(_INSTALL_LIBS "SDL2main") + if (NOT ANDROID) + set_target_properties(SDL2main PROPERTIES DEBUG_POSTFIX "${SDL_CMAKE_DEBUG_POSTFIX}") + endif() endif() if (ANDROID AND HAVE_HIDAPI)