diff options
Diffstat (limited to 'Modules/CheckCSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckCSourceCompiles.cmake | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake index f43ebf3..16dcada 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake @@ -1,13 +1,11 @@ -# -# Check if the source code provided in the SOURCE argument compiles. -# -# CHECK_C_SOURCE_COMPILES - macro which checks if the source code compiles\ -# SOURCE - source code to try to compile -# VARIABLE - variable to store size if the type exists. -# +# - Check if the source code provided in the SOURCE argument compiles. +# CHECK_C_SOURCE_COMPILES(SOURCE VAR) +# - macro which checks if the source code compiles +# SOURCE - source code to try to compile +# VAR - variable to store size if the type exists. # Checks the following optional VARIABLES (not arguments) -# CMAKE_REQUIRED_LIBRARIES - Link to extra libraries -# CMAKE_REQUIRED_FLAGS - Extra flags to C compiler +# CMAKE_REQUIRED_LIBRARIES - Link to extra libraries +# CMAKE_REQUIRED_FLAGS - Extra flags to C compiler # MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR) |