diff options
author | Alex Neundorf <neundorf@kde.org> | 2010-09-28 20:30:31 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2010-09-28 20:30:31 (GMT) |
commit | b01184022be821adc3fee277365d4f7bb6244ff2 (patch) | |
tree | 4ec9c1c5a335355f543190f51cf8f17156136767 /Modules/FindMPI.cmake | |
parent | 41e4f1a2109cc03008ef0d1db5cab1c9345866e3 (diff) | |
download | CMake-b01184022be821adc3fee277365d4f7bb6244ff2.zip CMake-b01184022be821adc3fee277365d4f7bb6244ff2.tar.gz CMake-b01184022be821adc3fee277365d4f7bb6244ff2.tar.bz2 |
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
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r-- | Modules/FindMPI.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 9fef8f9..3419134 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -345,7 +345,7 @@ else (MPI_INCLUDE_PATH AND MPI_LIBRARY) set(MPI_FOUND FALSE) endif (MPI_INCLUDE_PATH AND MPI_LIBRARY) -include(FindPackageHandleStandardArgs) +include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake") # handle the QUIETLY and REQUIRED arguments find_package_handle_standard_args(MPI DEFAULT_MSG MPI_LIBRARY MPI_INCLUDE_PATH) |