mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 14:57:49 +08:00
1c43dfa4a2
Fix find debug library of QHull. Currently, QHull port generates debug libraries with DEBUG_POSTFIX (_d). Therefore, It doesn't need to be override.
14 lines
612 B
Diff
14 lines
612 B
Diff
diff --git a/cmake/Modules/FindQhull.cmake b/cmake/Modules/FindQhull.cmake
|
|
index 698bd151b..44c1d5d8d 100644
|
|
--- a/cmake/Modules/FindQhull.cmake
|
|
+++ b/cmake/Modules/FindQhull.cmake
|
|
@@ -55,7 +55,7 @@ find_library(QHULL_LIBRARY_DEBUG
|
|
NAMES ${QHULL_DEBUG_NAME} ${QHULL_RELEASE_NAME}
|
|
HINTS "${QHULL_ROOT}" "$ENV{QHULL_ROOT}"
|
|
PATHS "$ENV{PROGRAMFILES}/QHull" "$ENV{PROGRAMW6432}/QHull"
|
|
- PATH_SUFFIXES project build bin lib)
|
|
+ PATH_SUFFIXES project build bin lib debug/lib)
|
|
|
|
if(NOT QHULL_LIBRARY_DEBUG)
|
|
set(QHULL_LIBRARY_DEBUG ${QHULL_LIBRARY})
|