From 545c7b4b0d1ad131358a3127319fe85b99f6bf97 Mon Sep 17 00:00:00 2001 From: Username404 Date: Wed, 24 Mar 2021 11:49:20 +0100 Subject: [PATCH] Fix a little bit the CMakeLists.txt file's indentation. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9574dfc..a55a6df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if (NOT DEFINED CODENAME) set(CODENAME "Unknown") if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/misc/codename.txt") file(READ "${CMAKE_CURRENT_SOURCE_DIR}/misc/codename.txt" CODENAME) - endif () + endif() endif() set(EXEDESC "Transpiler for the yerbacon language.") @@ -27,7 +27,7 @@ if((${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) OR (${CMAKE_CXX_COMPILER_ID} STREQUAL if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0) message(WARNING "A ${CMAKE_CXX_COMPILER_ID} compiler version of preferably 11 or higher should be used.") endif() - set(CMAKE_POSITION_INDEPENDENT_CODE True) + set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc") set(CMAKE_CXX_FLAGS "-flto ${CMAKE_CXX_FLAGS} -pipe -fstack-protector-strong -fstack-clash-protection") include(CheckCXXCompilerFlag)