vcpkg/ports/osg/fix-curl.patch
Jack·Boos·Yu ad69a7fc8e
[osg]Fix windows-dynamic/linux build. (#8060)
* [osg]Fix dynamic build.

* [sdl1]Fix linux command.

* [osg]Fix linux build: disable present3D and osgstaticview.

* [osg]fix windows build-only for windows.

* [osg]Fix file INSTALL error.

* [osg]Add dependency conditions.

* [osg]disable OSG_USE_UTF8_FILENAME in Linux and OSX.

* [osg]Fix find dependency curl. Replace version num by macro.

* [osg]Add option CMAKE_CXX_STANDARD

* [osg] Remove library prefix.

* [osg] Fix install pdbs

* [osg] Remove usless plugin libs.

* update baseline

* update baseline

* update baseline

* update baseline
2020-02-13 17:53:23 -08:00

19 lines
489 B
Diff

diff --git a/src/osgPlugins/curl/CMakeLists.txt b/src/osgPlugins/curl/CMakeLists.txt
index cc459ff..370dbec 100644
--- a/src/osgPlugins/curl/CMakeLists.txt
+++ b/src/osgPlugins/curl/CMakeLists.txt
@@ -23,11 +23,11 @@ SET(TARGET_H
IF(ZLIB_FOUND)
SET(TARGET_LIBRARIES_VARS
- CURL_LIBRARY
+ CURL_LIBRARIES
ZLIB_LIBRARIES)
ELSE()
SET(TARGET_LIBRARIES_VARS
- CURL_LIBRARY)
+ CURL_LIBRARIES)
ENDIF()
IF(WIN32 OR MINGW)