1 Star 0 Fork 2

minicoderx / osgearth

forked from mirrors_gwaldron / osgearth 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
osgEarthConfig.cmake.in 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
plevy 提交于 2023-03-23 15:01 . Added debug lib to cmake config helper
set(OSGEARTH_VERSION 3.1.0)
@PACKAGE_INIT@
set(XPREFIX OSGEARTH)
if (osgEarth_USE_STATIC_LIBS)
set(XPREFIX ${XPREFIX}_STATIC)
endif()
set(osgEarth_DEFINITIONS ${${XPREFIX}_CFLAGS})
find_path(osgEarth_INCLUDE_DIR
NAMES osgEarth/rtree.h
HINTS ${${XPREFIX}_INCLUDE_DIRS}
)
set(OSGEARTH_NAMES osgEarth)
find_library(osgEarth_LIBRARY
NAMES ${OSGEARTH_NAMES}
HINTS ${${XPREFIX}_LIBRARY_DIRS}
)
set(OSGEARTH_NAMES osgEarthd)
find_library(osgEarth_LIBRARY_DEBUG
NAMES ${OSGEARTH_NAMES}
HINTS ${${XPREFIX}_LIBRARY_DIRS}
)
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_INCLUDE_DIRS ${osgEarth_INCLUDE_DIR})
set(osgEarth_LDFLAGS ${${XPREFIX}_LDFLAGS})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(osgEarth DEFAULT_MSG
osgEarth_LIBRARY
osgEarth_LIBRARY_DEBUG
osgEarth_INCLUDE_DIR
)
if (osgEarth_FOUND)
string (REPLACE ";" " " osgEarth_LDFLAGS "${osgEarth_LDFLAGS}")
add_library(osgEarth UNKNOWN IMPORTED)
set_target_properties(osgEarth
PROPERTIES
IMPORTED_LOCATION "${osgEarth_LIBRARIES}"
INTERFACE_INCLUDE_DIRECTORIES "${osgEarth_INCLUDE_DIRS}"
INTERFACE_LINK_LIBRARIES "${osgEarth_LDFLAGS}"
INTERFACE_COMPILE_OPTIONS "${osgEarth_DEFINITIONS}"
)
endif()
message(STATUS "osgEarth_FOUND: ${osgEarth_FOUND}")
message(STATUS "osgEarth_INCLUDE_DIRS: ${osgEarth_INCLUDE_DIRS}")
message(STATUS "osgEarth_LIBRARIES: ${osgEarth_LIBRARIES}")
message(STATUS "osgEarth_LIBRARIES_DEBUG: ${osgEarth_LIBRARIES_DEBUG}")
message(STATUS "osgEarth_LDFLAGS: ${osgEarth_LDFLAGS}")
message(STATUS "osgEarth_DEFINITIONS: ${osgEarth_DEFINITIONS}")
check_required_components(osgEarth)
1
https://gitee.com/minicoderx/osgearth.git
git@gitee.com:minicoderx/osgearth.git
minicoderx
osgearth
osgearth
master

搜索帮助