[osg] build failure (#15044)

This commit is contained in:
JonLiu1993 2020-12-16 07:38:34 +08:00 committed by GitHub
parent 68a7019643
commit c744bdf508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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()