Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
ccf1a2ba
Commit
ccf1a2ba
authored
May 21, 2013
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Fix indentation
parent
6828bf26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
+4
-4
No files found.
CMakeLists.txt
View file @
ccf1a2ba
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment