cmake: tweaks for EXAALT superbuild, add latte_fix

This commit is contained in:
Christoph Junghans
2017-09-08 11:33:49 -06:00
parent 2f6be88c4a
commit fce633aa5f
2 changed files with 29 additions and 6 deletions

View File

@ -0,0 +1,18 @@
# - Find latte
# Find the native LATTE libraries.
#
# LATTE_LIBRARIES - List of libraries when using fftw3.
# LATTE_FOUND - True if fftw3 found.
#
find_library(LATTE_LIBRARY NAMES latte)
set(LATTE_LIBRARIES ${LATTE_LIBRARY})
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LATTE_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(LATTE DEFAULT_MSG LATTE_LIBRARY)
mark_as_advanced(LATTE_LIBRARY)