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
ac1d85cf
Commit
ac1d85cf
authored
Apr 29, 2013
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake 2.6 parser bug workaround
parent
0f85c208
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
ac1d85cf
...
@@ -293,7 +293,7 @@ TARGET_OS_LIBRARIES(git2)
...
@@ -293,7 +293,7 @@ TARGET_OS_LIBRARIES(git2)
# Workaround for Cmake bug #0011240 (see http://public.kitware.com/Bug/view.php?id=11240)
# Workaround for Cmake bug #0011240 (see http://public.kitware.com/Bug/view.php?id=11240)
# Win64+MSVC+static libs = linker error
# Win64+MSVC+static libs = linker error
IF
(
MSVC AND
NOT BUILD_SHARED_LIBS
AND
(
${
CMAKE_SIZEOF_VOID_P
}
MATCHES
"8"
)
)
IF
(
MSVC AND
GIT_ARCH_64 AND NOT BUILD_SHARED_LIBS
)
SET_TARGET_PROPERTIES
(
git2 PROPERTIES STATIC_LIBRARY_FLAGS
"/MACHINE:x64"
)
SET_TARGET_PROPERTIES
(
git2 PROPERTIES STATIC_LIBRARY_FLAGS
"/MACHINE:x64"
)
ENDIF
()
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