summaryrefslogtreecommitdiffstats
path: root/Modules/FindLibLZMA.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-09-08 17:03:26 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-09-08 22:39:47 (GMT)
commitff0d1a8d84754dd083d3a175696a3ad0c10ebe27 (patch)
tree5ee8b9f5ad104c54cb9537a71ad9cba264fb0886 /Modules/FindLibLZMA.cmake
parentd35f552614014525b1de543dfe36be5e337a11d1 (diff)
downloadCMake-ff0d1a8d84754dd083d3a175696a3ad0c10ebe27.zip
CMake-ff0d1a8d84754dd083d3a175696a3ad0c10ebe27.tar.gz
CMake-ff0d1a8d84754dd083d3a175696a3ad0c10ebe27.tar.bz2
include FPHSA from current directory in all modules
Diffstat (limited to 'Modules/FindLibLZMA.cmake')
-rw-r--r--Modules/FindLibLZMA.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindLibLZMA.cmake b/Modules/FindLibLZMA.cmake
index f8ea18b..837e633 100644
--- a/Modules/FindLibLZMA.cmake
+++ b/Modules/FindLibLZMA.cmake
@@ -47,13 +47,13 @@ endif()
# it can be found in http://tukaani.org/xz/
# Avoid using old codebase
if (LIBLZMA_LIBRARY)
- include(CheckLibraryExists)
+ include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake)
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_auto_decoder "" LIBLZMA_HAS_AUTO_DECODER)
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_easy_encoder "" LIBLZMA_HAS_EASY_ENCODER)
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_lzma_preset "" LIBLZMA_HAS_LZMA_PRESET)
endif ()
-include(FindPackageHandleStandardArgs)
+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibLZMA REQUIRED_VARS LIBLZMA_INCLUDE_DIR
LIBLZMA_LIBRARY
LIBLZMA_HAS_AUTO_DECODER