mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
Modules: Fix typos and spelling in comments
This commit is contained in:
@@ -320,7 +320,7 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
|
||||
set(id_cl "$(CLToolExe)")
|
||||
elseif(CMAKE_VS_PLATFORM_TOOLSET MATCHES "v[0-9]+_clang_.*")
|
||||
set(id_cl clang.exe)
|
||||
# Executable names have choosen according documentation
|
||||
# Executable names have been chosen according documentation
|
||||
# URL: (https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-dpcpp-compiler/top.html#top_GUID-A9B4C91D-97AC-450D-9742-9D895BC8AEE1)
|
||||
elseif(CMAKE_VS_PLATFORM_TOOLSET MATCHES "Intel")
|
||||
if(CMAKE_VS_PLATFORM_TOOLSET MATCHES "DPC\\+\\+ Compiler")
|
||||
|
@@ -1053,7 +1053,7 @@ function(FetchContent_Populate contentName)
|
||||
# Don't set global properties, or record that we did this population, since
|
||||
# this was a direct call outside of the normal declared details form.
|
||||
# We only want to save values in the global properties for content that
|
||||
# honours the hierarchical details mechanism so that projects are not
|
||||
# honors the hierarchical details mechanism so that projects are not
|
||||
# robbed of the ability to override details set in nested projects.
|
||||
return()
|
||||
endif()
|
||||
|
@@ -108,7 +108,7 @@ if(APPLE)
|
||||
set( FLTK_PLATFORM_DEPENDENT_LIBS "-framework Carbon -framework Cocoa -framework ApplicationServices -lz")
|
||||
endif()
|
||||
|
||||
# If FLTK_INCLUDE_DIR is already defined we assigne its value to FLTK_DIR
|
||||
# If FLTK_INCLUDE_DIR is already defined we assign its value to FLTK_DIR.
|
||||
if(FLTK_INCLUDE_DIR)
|
||||
set(FLTK_DIR ${FLTK_INCLUDE_DIR})
|
||||
endif()
|
||||
|
@@ -80,7 +80,7 @@ macro(java_append_library_directories _var)
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|
||||
set(_java_libarch "ppc" "ppc64")
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
|
||||
# Both flavours can run on the same processor
|
||||
# Both flavors can run on the same processor
|
||||
set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "sparc" "sparcv9")
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(parisc|hppa)")
|
||||
set(_java_libarch "parisc" "parisc64")
|
||||
|
@@ -1416,7 +1416,7 @@ function(_Matlab_find_instances_from_path matlab_roots)
|
||||
set(_matlab_possible_roots)
|
||||
|
||||
# At this point, we have no other choice than trying to find it from PATH.
|
||||
# If set by the user, this wont change
|
||||
# If set by the user, this won't change.
|
||||
find_program(
|
||||
_matlab_main_tmp
|
||||
NAMES matlab)
|
||||
|
@@ -352,7 +352,7 @@ macro(GNUInstallDirs_get_absolute_install_dir absvar var)
|
||||
if(GGAID_extra_arg_count GREATER 0)
|
||||
list(GET GGAID_extra_args 0 GGAID_dir)
|
||||
else()
|
||||
# Historical behaviour: use ${dir} from caller's scope
|
||||
# Historical behavior: use ${dir} from caller's scope
|
||||
set(GGAID_dir "${dir}")
|
||||
message(AUTHOR_WARNING
|
||||
"GNUInstallDirs_get_absolute_install_dir called without third argument. "
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# Define ARTOS to select proper behaviour and tell preprocessor to accept C++ style comments.
|
||||
# Define ARTOS to select proper behavior and tell preprocessor to accept C++ style comments.
|
||||
string(APPEND CMAKE_C_FLAGS_INIT " -DARTOS -Xp -+")
|
||||
# ac doesn't support -g properly and doesn't support the normal gcc optimization options. Just use the defaults set by ac.
|
||||
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " ")
|
||||
|
Reference in New Issue
Block a user