Merge topic 'doc-check-compiler-flag-override'
3e79d65
Check*CompilerFlag: Document use of CMAKE_REQUIRED_DEFINITIONS (#14309)
This commit is contained in:
commit
30999f8da2
|
@ -2,9 +2,10 @@
|
|||
# CHECK_C_COMPILER_FLAG(<flag> <var>)
|
||||
# <flag> - the compiler flag
|
||||
# <var> - variable to store the result
|
||||
# This internally calls the check_c_source_compiles macro.
|
||||
# This internally calls the check_c_source_compiles macro and
|
||||
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
|
||||
# See help for CheckCSourceCompiles for a listing of variables
|
||||
# that can modify the build.
|
||||
# that can otherwise modify the build.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2006-2011 Kitware, Inc.
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
# CHECK_CXX_COMPILER_FLAG(<flag> <var>)
|
||||
# <flag> - the compiler flag
|
||||
# <var> - variable to store the result
|
||||
# This internally calls the check_cxx_source_compiles macro. See help
|
||||
# for CheckCXXSourceCompiles for a listing of variables that can
|
||||
# modify the build.
|
||||
# This internally calls the check_cxx_source_compiles macro and
|
||||
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
|
||||
# See help for CheckCXXSourceCompiles for a listing of variables
|
||||
# that can otherwise modify the build.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2006-2010 Kitware, Inc.
|
||||
|
|
Loading…
Reference in New Issue