mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
18 lines
792 B
Diff
18 lines
792 B
Diff
|
diff --git a/src/libgit2/CMakeLists.txt b/src/libgit2/CMakeLists.txt
|
||
|
index f2a9943..3ce01b7 100644
|
||
|
--- a/src/libgit2/CMakeLists.txt
|
||
|
+++ b/src/libgit2/CMakeLists.txt
|
||
|
@@ -65,12 +65,6 @@ set_target_properties(libgit2package PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJE
|
||
|
set_target_properties(libgit2package PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
|
||
|
set_target_properties(libgit2package PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
|
||
|
|
||
|
-# Workaround for Cmake bug #0011240 (see http://public.kitware.com/Bug/view.php?id=11240)
|
||
|
-# Win64+MSVC+static libs = linker error
|
||
|
-if(MSVC AND GIT_ARCH_64 AND NOT BUILD_SHARED_LIBS)
|
||
|
- set_target_properties(libgit2package PROPERTIES STATIC_LIBRARY_FLAGS "/MACHINE:x64")
|
||
|
-endif()
|
||
|
-
|
||
|
ide_split_sources(libgit2package)
|
||
|
|
||
|
if(SONAME)
|