Merge topic 'fix-openscenegraph-relwithdebinfo'

a10c2e32a5 FindOpenSceneGraph: Detect library built as RelWithDebInfo
b5d5eea716 FindOpenThreads: Detect library built as RelWithDebInfo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11542
This commit is contained in:
Brad King
2026-01-09 15:09:54 +00:00
committed by Kitware Robot
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ find_path(OPENTHREADS_INCLUDE_DIR OpenThreads/Thread
)
find_library(OPENTHREADS_LIBRARY_RELEASE
NAMES OpenThreads OpenThreadsWin32
NAMES OpenThreads OpenThreadsWin32 OpenThreadsrd
HINTS
ENV OPENTHREADS_LIBRARY_DIR
ENV OPENTHREADS_DIR

View File

@@ -43,7 +43,7 @@ function(OSG_FIND_LIBRARY module library)
string(TOUPPER ${module} module_uc)
find_library(${module_uc}_LIBRARY_RELEASE
NAMES ${library}
NAMES ${library} ${library}rd
HINTS
ENV ${module_uc}_DIR
ENV OSG_DIR