summaryrefslogtreecommitdiff
path: root/Modules/FindMotif.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindMotif.cmake')
-rw-r--r--Modules/FindMotif.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMotif.cmake b/Modules/FindMotif.cmake
index 8247afd971..f101545565 100644
--- a/Modules/FindMotif.cmake
+++ b/Modules/FindMotif.cmake
@@ -34,7 +34,7 @@ ENDIF(UNIX)
# handle the QUIETLY and REQUIRED arguments and set MOTIF_FOUND to TRUE if
# all listed variables are TRUE
-INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Motif DEFAULT_MSG MOTIF_LIBRARIES MOTIF_INCLUDE_DIR)