From b01184022be821adc3fee277365d4f7bb6244ff2 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Tue, 28 Sep 2010 22:30:31 +0200 Subject: Use absolute path to FindPackageHandleStandardArgs.cmake everywhere This is to avoid getting an (older) copy of FPHSA.cmake which is e.g. installed with KDE 4.5.0 and 4.5.1. Alex --- Modules/FindOpenAL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/FindOpenAL.cmake') diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake index 8f794369de..982b4fd3d5 100644 --- a/Modules/FindOpenAL.cmake +++ b/Modules/FindOpenAL.cmake @@ -97,7 +97,7 @@ FIND_LIBRARY(OPENAL_LIBRARY # handle the QUIETLY and REQUIRED arguments and set OPENAL_FOUND to TRUE if # all listed variables are TRUE -INCLUDE(FindPackageHandleStandardArgs) +INCLUDE("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake") FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenAL DEFAULT_MSG OPENAL_LIBRARY OPENAL_INCLUDE_DIR) MARK_AS_ADVANCED(OPENAL_LIBRARY OPENAL_INCLUDE_DIR) -- cgit v1.2.1