vcpkg/ports/pcl/find_qhull.patch
Tsukasa Sugiura 1c43dfa4a2 Fix find debug library of QHull
Fix find debug library of QHull.
Currently, QHull port generates debug libraries with DEBUG_POSTFIX (_d).
Therefore, It doesn't need to be override.
2017-11-15 10:39:14 +09:00

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})