Browse Source

Minor tweak to make locating the PackageHandleStandardArgs module more resilient and natural

David Wimsey 11 years ago
parent
commit
da3b3bf953
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Build/cmake/v2fixes/FindFreetype-v2fix.cmake

+ 1 - 1
Build/cmake/v2fixes/FindFreetype-v2fix.cmake

@@ -134,7 +134,7 @@ endif()
 
 
 # handle the QUIETLY and REQUIRED arguments and set FREETYPE_FOUND to TRUE if
 # handle the QUIETLY and REQUIRED arguments and set FREETYPE_FOUND to TRUE if
 # all listed variables are TRUE
 # all listed variables are TRUE
-include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
+include(FindPackageHandleStandardArgs)
 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Freetype
 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Freetype
                                   REQUIRED_VARS FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS
                                   REQUIRED_VARS FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS
                                   VERSION_VAR FREETYPE_VERSION_STRING)
                                   VERSION_VAR FREETYPE_VERSION_STRING)