diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2020-09-25 12:55:25 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-09-25 14:43:13 +0100 |
commit | 348c231e12d87c106bd1ab3c9d7a5ecdab6863d8 (patch) | |
tree | 42f3d9120a1c194068e06cb5918192eeb3175dbe /media/baseset/CMakeLists.txt | |
parent | df5362a0083b571d0b8eb2879b618c3edbf9e7fc (diff) | |
download | openttd-348c231e12d87c106bd1ab3c9d7a5ecdab6863d8.tar.xz |
Codechange: Make codestyle for CMake files consistent for 'control' statements
Diffstat (limited to 'media/baseset/CMakeLists.txt')
-rw-r--r-- | media/baseset/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media/baseset/CMakeLists.txt b/media/baseset/CMakeLists.txt index c3fe34ce4..48aa443a5 100644 --- a/media/baseset/CMakeLists.txt +++ b/media/baseset/CMakeLists.txt @@ -20,13 +20,13 @@ set(BASESET_OTHER_SOURCE_FILES ) # Done by the subdirectories, if nforenum / grfcodec is installed -if (GRFCODEC_FOUND) +if(GRFCODEC_FOUND) set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/openttd.grf PROPERTIES GENERATED TRUE) set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/orig_extra.grf PROPERTIES GENERATED TRUE) list(APPEND BASESET_BINARY_FILES openttd.grf) list(APPEND BASESET_BINARY_FILES orig_extra.grf) -endif (GRFCODEC_FOUND) +endif() set(BASESET_EXTRAGRF_FILE ${CMAKE_CURRENT_SOURCE_DIR}/orig_extra.grf) @@ -54,7 +54,7 @@ foreach(BASESET_SOURCE_FILE IN LISTS BASESET_SOURCE_FILES) ) list(APPEND BASESET_BINARY_FILES ${BASESET_BINARY_FILE}) -endforeach(BASESET_SOURCE_FILE) +endforeach() # Walk over all the other baseset files, and generate a command to copy them foreach(BASESET_OTHER_SOURCE_FILE IN LISTS BASESET_OTHER_SOURCE_FILES) @@ -70,7 +70,7 @@ foreach(BASESET_OTHER_SOURCE_FILE IN LISTS BASESET_OTHER_SOURCE_FILES) ) list(APPEND BASESET_BINARY_FILES ${BASESET_OTHER_BINARY_FILE}) -endforeach(BASESET_OTHER_SOURCE_FILE) +endforeach() # Create a new target which generates all baseset metadata files add_custom_target_timestamp(baseset_files |