From b182bf0c1bfda03ed33d3a076775d042aa47f036 Mon Sep 17 00:00:00 2001 From: Oleksandr Kalko Date: Thu, 4 Mar 2021 19:36:54 +0200 Subject: [PATCH] Normalize line endings to CRLF --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad0ba7861..f09667cf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,9 +35,9 @@ endif() if(NOT VERSION_NUM) include(CMake/git.cmake) get_git_tag(VERSION_NUM) - if (NOT "${VERSION_NUM}" STREQUAL "") - string(REGEX MATCH "([0-9]+\.[0-9]+\.[0-9]+)" VERSION_NUM ${VERSION_NUM} ) - endif() + if (NOT "${VERSION_NUM}" STREQUAL "") + string(REGEX MATCH "([0-9]+\.[0-9]+\.[0-9]+)" VERSION_NUM ${VERSION_NUM} ) + endif() get_git_commit_hash(GIT_COMMIT_HASH) if(NOT VERSION_SUFFIX) set(VERSION_SUFFIX "$<$>:-${GIT_COMMIT_HASH}>") @@ -82,7 +82,7 @@ if(SWITCH) find_package(LIBNX REQUIRED) include(switch_defs) endif() - + if(VITA) include("$ENV{VITASDK}/share/vita.cmake" REQUIRED) include(vita_defs)