Permalink
Browse files

cmake: Use FindPackageHandleStandardArgs module for WinDbg.

  • Loading branch information...
jrfonseca committed Mar 18, 2015
1 parent 3958ce9 commit 9528c68f85eb6e0a4b9b029ccbf499f5e21698ce
Showing with 2 additions and 6 deletions.
  1. +2 −6 cmake/FindWinDbg.cmake
View
@@ -3,7 +3,7 @@
# WINDBG_DIR : full path to Windbg root dir
#
include (FindPackageMessage)
include (FindPackageHandleStandardArgs)
if (WIN32)
find_path (WINDBG_DIR
@@ -21,8 +21,4 @@ if (WIN32)
mark_as_advanced (WINDBG_DIR)
endif (WIN32)
if (WINDBG_DIR)
set (WINDBG_FOUND 1)
find_package_message (WINDBG "Found WinDbg: ${WINDBG_DIR}" "[${WINDBG_DIR}]")
endif ()
mark_as_advanced (WINDBG_FOUND)
find_package_handle_standard_args (WinDbg DEFAULT_MSG WINDBG_DIR)

0 comments on commit 9528c68

Please sign in to comment.