From Eric Wing, adding message w.r.t debug OpenThreads library for when its not available.
This commit is contained in:
parent
43c24da12d
commit
1032bc66b2
@ -80,8 +80,9 @@ IF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
|
|||||||
SET(OPENTHREADS_FOUND "YES")
|
SET(OPENTHREADS_FOUND "YES")
|
||||||
# MESSAGE("-- Found OpenThreads: "${OPENTHREADS_LIBRARY})
|
# MESSAGE("-- Found OpenThreads: "${OPENTHREADS_LIBRARY})
|
||||||
IF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
IF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||||
# MESSAGE("-- Warning Debug OpenThreads not found, using: ${OPENTHREADS_LIBRARY}")
|
#MESSAGE("-- Warning Debug OpenThreads not found, using: ${OPENTHREADS_LIBRARY}")
|
||||||
SET(OPENTHREADS_LIBRARY_DEBUG "${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(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||||
ENDIF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
|
ENDIF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user