diff --git a/CMakeModules/FindCrashRpt.cmake b/CMakeModules/FindCrashRpt.cmake index c7730a4bb..89383fd52 100644 --- a/CMakeModules/FindCrashRpt.cmake +++ b/CMakeModules/FindCrashRpt.cmake @@ -12,20 +12,20 @@ # CRASHRPT_FOUND_LIBRARY FIND_PATH(CRASHRPT_INCLUDE_DIR CrashRpt.h - PATH_SUFFIXES include + PATH_SUFFIXES include HINTS $ENV{CRASHRPTDIR} PATHS ${ADDITIONAL_LIBRARY_PATHS} ) set(CRASHRPPT_LIBRARIES "") - -FIND_LIBRARY(CRASHRPT_LIBRARY NAMES CrashRpt1402 + +FIND_LIBRARY(CRASHRPT_LIBRARY NAMES CrashRpt1402 CrashRpt1403 HINTS $ENV{CRASHRPTDIR} PATH_SUFFIXES lib PATHS ${ADDITIONAL_LIBRARY_PATHS} ) include(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(CRASHRPT DEFAULT_MSG +FIND_PACKAGE_HANDLE_STANDARD_ARGS(CRASHRPT DEFAULT_MSG CRASHRPT_LIBRARY CRASHRPT_INCLUDE_DIR)