]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cmake: Fix indentation
authorCloudwalk <cloudwalk@icculus.org>
Sat, 18 Sep 2021 03:35:22 +0000 (23:35 -0400)
committerCloudwalk <cloudwalk@icculus.org>
Sat, 18 Sep 2021 03:35:22 +0000 (23:35 -0400)
buildsys/build.cmake

index 22fcfcc9e7791302c9c9e34cc07e0bb964c1cc6a..04b3f2ddc789df361fb44e46d8bd6b42185795ec 100644 (file)
@@ -14,11 +14,11 @@ function(dp_build arg_project arg_path)
        endif()
 
        if(ENGINE_EXE_NAME STREQUAL "") # Cannot be empty
-        message(FATAL_ERROR "You must give the executable a name.")
-    endif()
+               message(FATAL_ERROR "You must give the executable a name.")
+       endif()
 
-    if(ENGINE_EXE_NAME MATCHES "[* *]") # Cannot contain spaces.
-        message(FATAL_ERROR "The executable name must not contain spaces.")
+       if(ENGINE_EXE_NAME MATCHES "[* *]") # Cannot contain spaces.
+               message(FATAL_ERROR "The executable name must not contain spaces.")
        endif()
 
        if(NOT ENGINE_BUILD_CLIENT AND NOT ENGINE_BUILD_SERVER)