Skip to content

Commit

Permalink
Fix incorrect versions in cmake config
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Oct 24, 2023
1 parent 9b7743f commit 44d5fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ configure_package_config_file(

write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfigVersion.cmake
VERSION 3.4.0
VERSION ${OSGEARTH_VERSION}
COMPATIBILITY SameMajorVersion)

install(
Expand Down
10 changes: 5 additions & 5 deletions osgEarthConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(OSGEARTH_VERSION 3.1.0)
set(OSGEARTH_VERSION @OSGEARTH_VERSION@)

@PACKAGE_INIT@

Expand Down Expand Up @@ -29,12 +29,12 @@ find_library(osgEarth_LIBRARY_DEBUG
HINTS ${${XPREFIX}_LIBRARY_DIRS}
)

set(osgEarth_LIBRARIES ${osgEarth_LIBRARY})
set(osgEarth_LIBRARIES_DEBUG ${osgEarth_LIBRARY_DEBUG})
set(osgEarth_LIBRARIES ${osgEarth_LIBRARY})
set(osgEarth_LIBRARIES_DEBUG ${osgEarth_LIBRARY_DEBUG})
set(osgEarth_LIBRARY_DIRS ${${XPREFIX}_LIBRARY_DIRS})
set(osgEarth_LIBRARY_DIR ${osgEarth_LIBRARY_DIRS})
set(osgEarth_LIBRARY_DIR ${osgEarth_LIBRARY_DIRS})
set(osgEarth_INCLUDE_DIRS ${osgEarth_INCLUDE_DIR})
set(osgEarth_LDFLAGS ${${XPREFIX}_LDFLAGS})
set(osgEarth_LDFLAGS ${${XPREFIX}_LDFLAGS})

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(osgEarth DEFAULT_MSG
Expand Down

0 comments on commit 44d5fe2

Please sign in to comment.