2017-08-28 16:48:30 +08:00
|
|
|
--- a/CMake/FindLibHaru.cmake Mon Jun 26 15:29:04 2017
|
|
|
|
+++ b/CMake/FindLibHaru.cmake Wed Aug 16 09:30:12 2017
|
|
|
|
@@ -19,9 +19,13 @@
|
|
|
|
|
|
|
|
find_path(LIBHARU_INCLUDE_DIR hpdf.h)
|
|
|
|
|
2018-01-09 15:22:21 +08:00
|
|
|
-find_library(LIBHARU_LIBRARY NAMES hpdf hpdfs)
|
2017-08-28 16:48:30 +08:00
|
|
|
+find_library(LIBHARU_LIBRARY_RELEASE NAMES hpdf libhpdf)
|
|
|
|
+find_library(LIBHARU_LIBRARY_DEBUG NAMES hpdfd libhpdfd)
|
|
|
|
|
|
|
|
-# handle the QUIETLY and REQUIRED arguments and set FONTCONFIG_FOUND to TRUE if
|
|
|
|
+include(SelectLibraryConfigurations)
|
|
|
|
+select_library_configurations(LIBHARU)
|
|
|
|
+
|
|
|
|
+# handle the QUIETLY and REQUIRED arguments and set LIBHARU_FOUND to TRUE if
|
|
|
|
# all listed variables are TRUE
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(LibHaru DEFAULT_MSG
|