mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:32:47 +08:00
[osg] build failure (#15044)
This commit is contained in:
parent
68a7019643
commit
c744bdf508
@ -1,6 +1,6 @@
|
||||
Source: osg
|
||||
Version: 3.6.5
|
||||
Port-Version: 4
|
||||
Port-Version: 5
|
||||
Homepage: https://github.com/openscenegraph/OpenSceneGraph
|
||||
Description: The OpenSceneGraph is an open source high performance 3D graphics toolkit.
|
||||
Build-Depends: zlib, fontconfig, freeglut (windows), expat (windows), openimageio (osx)
|
||||
|
@ -8,7 +8,7 @@ index df859d0..123313a 100644
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} ws2_32)
|
||||
+
|
||||
+ find_package(EXPAT REQUIRED)
|
||||
+ find_package(Iconv CONFIG REQUIRED)
|
||||
+ find_package(Iconv REQUIRED)
|
||||
+
|
||||
+ list(APPEND TARGET_EXTERNAL_LIBRARIES EXPAT::EXPAT Iconv::Iconv)
|
||||
ELSE()
|
||||
@ -24,7 +24,7 @@ index 071ab26..bf8d85f 100644
|
||||
|
||||
+IF (WIN32)
|
||||
+ find_package(EXPAT REQUIRED)
|
||||
+ find_package(Iconv CONFIG REQUIRED)
|
||||
+ find_package(Iconv REQUIRED)
|
||||
+
|
||||
+ list(APPEND TARGET_EXTERNAL_LIBRARIES EXPAT::EXPAT Iconv::Iconv)
|
||||
+ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user