|
|
|
@ -14,6 +14,16 @@
|
|
|
|
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
|
|
|
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
|
|
|
|
|
|
|
|
|
#=============================================================================
|
|
|
|
|
# Copyright 2002-2011 Kitware, Inc.
|
|
|
|
|
#
|
|
|
|
|
# Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
|
# see accompanying file Copyright.txt for details.
|
|
|
|
|
#
|
|
|
|
|
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
# See the License for more information.
|
|
|
|
|
#=============================================================================
|
|
|
|
|
|
|
|
|
|
MACRO(CHECK_FUNCTION_EXISTS_MATH FUNCTION VARIABLE)
|
|
|
|
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
|
|
|
|