mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 20:49:07 +08:00
f53d9799c3
* [osgearth] Fix and add dependency tinyxml * update version record
16 lines
620 B
Diff
16 lines
620 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index c78bd16..bf31091 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -193,7 +193,9 @@ OPTION(OSGEARTH_INSTALL_SHADERS "Whether to deploy GLSL shaders when doing a Mak
|
|
# TinyXML is an XML parsing library
|
|
SET (WITH_EXTERNAL_TINYXML FALSE CACHE BOOL "Use bundled or system wide version of TinyXML")
|
|
IF (WITH_EXTERNAL_TINYXML)
|
|
- find_package(TinyXML REQUIRED)
|
|
+ find_package(tinyxml CONFIG REQUIRED)
|
|
+ set(TINYXML_FOUND 1)
|
|
+ set(TINYXML_LIBRARY unofficial-tinyxml::unofficial-tinyxml)
|
|
ENDIF (WITH_EXTERNAL_TINYXML)
|
|
|
|
# postfix settings for various configs
|