From 1032bc66b26b7ef9b0d47e1d3ce4ebd46fd6294a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 3 Apr 2007 11:04:09 +0000 Subject: [PATCH] From Eric Wing, adding message w.r.t debug OpenThreads library for when its not available. --- CMakeModules/FindOpenThreads.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeModules/FindOpenThreads.cmake b/CMakeModules/FindOpenThreads.cmake index 4ed6c625b..64ce3142e 100644 --- a/CMakeModules/FindOpenThreads.cmake +++ b/CMakeModules/FindOpenThreads.cmake @@ -80,8 +80,9 @@ IF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY) SET(OPENTHREADS_FOUND "YES") # MESSAGE("-- Found OpenThreads: "${OPENTHREADS_LIBRARY}) IF(NOT OPENTHREADS_LIBRARY_DEBUG) - # MESSAGE("-- Warning Debug OpenThreads not found, using: ${OPENTHREADS_LIBRARY}") - SET(OPENTHREADS_LIBRARY_DEBUG "${OPENTHREADS_LIBRARY}") + #MESSAGE("-- Warning Debug OpenThreads not found, using: ${OPENTHREADS_LIBRARY}") + #SET(OPENTHREADS_LIBRARY_DEBUG "${OPENTHREADS_LIBRARY}") + SET(OPENTHREADS_LIBRARY_DEBUG "${OPENTHREADS_LIBRARY}" CACHE FILEPATH "Debug version of OpenThreads Library (use regular version if not available)" FORCE) ENDIF(NOT OPENTHREADS_LIBRARY_DEBUG) ENDIF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)