Browse Source

Normalize line endings to CRLF

pull/1075/head
Oleksandr Kalko 5 years ago committed by Anders Jenbo
parent
commit
b182bf0c1b
  1. 8
      CMakeLists.txt

8
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 "$<$<NOT:$<CONFIG:Release>>:-${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)

Loading…
Cancel
Save