mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 13:48:41 +00:00
cmake: Fix indentation
This commit is contained in:
parent
6828bf26e9
commit
ccf1a2ba5f
@ -106,8 +106,8 @@ ENDIF()
|
||||
|
||||
# Specify sha1 implementation
|
||||
IF (WIN32 AND NOT MINGW AND NOT SHA1_TYPE STREQUAL "builtin")
|
||||
ADD_DEFINITIONS(-DWIN32_SHA1)
|
||||
FILE(GLOB SRC_SHA1 src/hash/hash_win32.c)
|
||||
ADD_DEFINITIONS(-DWIN32_SHA1)
|
||||
FILE(GLOB SRC_SHA1 src/hash/hash_win32.c)
|
||||
ELSEIF (OPENSSL_FOUND AND NOT SHA1_TYPE STREQUAL "builtin")
|
||||
ADD_DEFINITIONS(-DOPENSSL_SHA1)
|
||||
ELSE()
|
||||
@ -155,7 +155,7 @@ ENDIF()
|
||||
# Platform specific compilation flags
|
||||
IF (MSVC)
|
||||
|
||||
STRING(REPLACE "/Zm1000" " " CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||
STRING(REPLACE "/Zm1000" " " CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||
|
||||
# /GF - String pooling
|
||||
# /MP - Parallel build
|
||||
@ -170,7 +170,7 @@ IF (MSVC)
|
||||
SET(CRT_FLAG_DEBUG "/MTd")
|
||||
SET(CRT_FLAG_RELEASE "/MT")
|
||||
ELSE()
|
||||
SET(CRT_FLAG_DEBUG "/MDd")
|
||||
SET(CRT_FLAG_DEBUG "/MDd")
|
||||
SET(CRT_FLAG_RELEASE "/MD")
|
||||
ENDIF()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user