mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:59:00 +08:00
Fix osgqt build error LNK 1181 (#7672)
This commit is contained in:
parent
f9c92910a7
commit
37469195ef
11
ports/osg-qt/OsgMacroUtils.patch
Normal file
11
ports/osg-qt/OsgMacroUtils.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/CMakeModules/OsgMacroUtils.cmake
|
||||
+++ b/CMakeModules/OsgMacroUtils.cmake
|
||||
@@ -88,7 +88,7 @@ MACRO(LINK_CORELIB_DEFAULT CORELIB_NAME)
|
||||
ENDIF()
|
||||
|
||||
LINK_EXTERNAL(${CORELIB_NAME} ${ALL_GL_LIBRARIES})
|
||||
- LINK_WITH_VARIABLES(${CORELIB_NAME} OPENTHREADS_LIBRARY)
|
||||
+ #LINK_WITH_VARIABLES(${CORELIB_NAME} OPENTHREADS_LIBRARY)
|
||||
IF(OPENSCENEGRAPH_SONAMES)
|
||||
SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES VERSION ${OPENSCENEGRAPH_VERSION} SOVERSION ${OPENSCENEGRAPH_SOVERSION})
|
||||
ENDIF(OPENSCENEGRAPH_SONAMES)
|
@ -6,6 +6,8 @@ vcpkg_from_github(
|
||||
REF Qt4
|
||||
SHA512 426a4ba88f680978d24817248b99c68cafa4517144e6e3d2480612870c4a224bb955539cacb438274d4ee1c93c36d94f8437d142070b2ecde2b81517bf357e71
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
OsgMacroUtils.patch
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user