mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-13 17:07:57 +00:00
Merge topic 'fix-openscenegraph-relwithdebinfo'
a10c2e32a5FindOpenSceneGraph: Detect library built as RelWithDebInfob5d5eea716FindOpenThreads: Detect library built as RelWithDebInfo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11542
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user