Merge topic 'include-FPHSA'
ff0d1a8
include FPHSA from current directory in all modules
This commit is contained in:
commit
13c36fac62
|
@ -76,7 +76,7 @@ endif ()
|
||||||
|
|
||||||
|
|
||||||
# Checks 'REQUIRED', 'QUIET' and versions.
|
# Checks 'REQUIRED', 'QUIET' and versions.
|
||||||
include(FindPackageHandleStandardArgs)
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||||
find_package_handle_standard_args(Armadillo
|
find_package_handle_standard_args(Armadillo
|
||||||
REQUIRED_VARS ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR
|
REQUIRED_VARS ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR
|
||||||
VERSION_VAR ARMADILLO_VERSION_STRING)
|
VERSION_VAR ARMADILLO_VERSION_STRING)
|
||||||
|
|
|
@ -54,12 +54,12 @@ if(GETTEXT_MSGMERGE_EXECUTABLE)
|
||||||
unset(gettext_version)
|
unset(gettext_version)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gettext
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gettext
|
||||||
REQUIRED_VARS GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE
|
REQUIRED_VARS GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE
|
||||||
VERSION_VAR GETTEXT_VERSION_STRING)
|
VERSION_VAR GETTEXT_VERSION_STRING)
|
||||||
|
|
||||||
include(CMakeParseArguments)
|
include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
|
||||||
|
|
||||||
function(_GETTEXT_GET_UNIQUE_TARGET_NAME _name _unique_name)
|
function(_GETTEXT_GET_UNIQUE_TARGET_NAME _name _unique_name)
|
||||||
set(propertyName "_GETTEXT_UNIQUE_COUNTER_${_name}")
|
set(propertyName "_GETTEXT_UNIQUE_COUNTER_${_name}")
|
||||||
|
|
|
@ -47,13 +47,13 @@ endif()
|
||||||
# it can be found in http://tukaani.org/xz/
|
# it can be found in http://tukaani.org/xz/
|
||||||
# Avoid using old codebase
|
# Avoid using old codebase
|
||||||
if (LIBLZMA_LIBRARY)
|
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_auto_decoder "" LIBLZMA_HAS_AUTO_DECODER)
|
||||||
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_easy_encoder "" LIBLZMA_HAS_EASY_ENCODER)
|
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_easy_encoder "" LIBLZMA_HAS_EASY_ENCODER)
|
||||||
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_lzma_preset "" LIBLZMA_HAS_LZMA_PRESET)
|
CHECK_LIBRARY_EXISTS(${LIBLZMA_LIBRARY} lzma_lzma_preset "" LIBLZMA_HAS_LZMA_PRESET)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibLZMA REQUIRED_VARS LIBLZMA_INCLUDE_DIR
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibLZMA REQUIRED_VARS LIBLZMA_INCLUDE_DIR
|
||||||
LIBLZMA_LIBRARY
|
LIBLZMA_LIBRARY
|
||||||
LIBLZMA_HAS_AUTO_DECODER
|
LIBLZMA_HAS_AUTO_DECODER
|
||||||
|
|
|
@ -146,7 +146,7 @@ if (PostgreSQL_INCLUDE_DIR AND EXISTS "${PostgreSQL_INCLUDE_DIR}/pg_config.h")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Did we find anything?
|
# Did we find anything?
|
||||||
include(FindPackageHandleStandardArgs)
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||||
find_package_handle_standard_args(PostgreSQL
|
find_package_handle_standard_args(PostgreSQL
|
||||||
REQUIRED_VARS PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR
|
REQUIRED_VARS PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR
|
||||||
VERSION_VAR PostgreSQL_VERSION_STRING)
|
VERSION_VAR PostgreSQL_VERSION_STRING)
|
||||||
|
|
Loading…
Reference in New Issue