Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37859036
en ru br
ALT Linux repos
S:3.4-alt1

Group :: Graphics
RPM: osgearth

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: osgearth-alt-fix-pathes.patch
Download


diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36ea6c81f..0483b1588 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -328,4 +328,4 @@ write_basic_package_version_file(
   COMPATIBILITY SameMajorVersion )
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfig.cmake
               ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfigVersion.cmake
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/cmake )
+        DESTINATION ${CMAKE_ROOT} )
diff --git a/src/osgEarthDrivers/gltf/CMakeLists.txt b/src/osgEarthDrivers/gltf/CMakeLists.txt
index 15dd7ed0c..2c6891371 100644
--- a/src/osgEarthDrivers/gltf/CMakeLists.txt
+++ b/src/osgEarthDrivers/gltf/CMakeLists.txt
@@ -11,7 +11,7 @@ SET(TARGET_SRC
 
 INCLUDE_DIRECTORIES(
     ${OSGEARTH_EMBEDDED_THIRD_PARTY_DIR}/tinygltf 
-    ${OSGEARTH_EMBEDDED_THIRD_PARTY_DIR}/rapidjson/include/rapidjson
+    ${INCLUDE_INSTALL_DIR}/rapidjson
 )
 
 IF(draco_FOUND)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin