Skip to content

Commit ea929c0

Browse files
committed
scripted-diff: Rename CMake helper module
-BEGIN VERIFY SCRIPT- git mv cmake/module/CheckSourceCompilesAndLinks.cmake cmake/module/CheckSourceCompilesWithFlags.cmake sed -i 's|\<CheckSourceCompilesAndLinks\>|CheckSourceCompilesWithFlags|g' $(git grep -l 'CheckSourceCompilesAndLinks') -END VERIFY SCRIPT-
1 parent 8d238c1 commit ea929c0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ endif()
386386
target_link_options(sanitize_interface INTERFACE ${SANITIZER_LDFLAGS})
387387

388388
if(BUILD_FUZZ_BINARY)
389-
include(CheckSourceCompilesAndLinks)
389+
include(CheckSourceCompilesWithFlags)
390390
check_cxx_source_compiles_with_flags("
391391
#include <cstdint>
392392
#include <cstddef>

cmake/crc32c.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# buildsystem.
88

99
include(CheckCXXSourceCompiles)
10-
include(CheckSourceCompilesAndLinks)
10+
include(CheckSourceCompilesWithFlags)
1111

1212
# Check for __builtin_prefetch support in the compiler.
1313
check_cxx_source_compiles("

cmake/introspection.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ check_cxx_source_compiles("
160160
)
161161

162162
if(NOT MSVC)
163-
include(CheckSourceCompilesAndLinks)
163+
include(CheckSourceCompilesWithFlags)
164164

165165
# Check for SSE4.1 intrinsics.
166166
set(SSE41_CXXFLAGS -msse4.1)

cmake/minisketch.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Distributed under the MIT software license, see the accompanying
33
# file COPYING or https://opensource.org/license/mit/.
44

5-
include(CheckSourceCompilesAndLinks)
5+
include(CheckSourceCompilesWithFlags)
66

77
# Check for clmul instructions support.
88
if(MSVC)

cmake/module/TestAppendRequiredLibraries.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function(test_append_socket_library target)
2828
include(CheckCXXSourceCompiles)
2929
check_cxx_source_compiles("${check_socket_source}" IFADDR_LINKS_WITHOUT_LIBSOCKET)
3030
if(NOT IFADDR_LINKS_WITHOUT_LIBSOCKET)
31-
include(CheckSourceCompilesAndLinks)
31+
include(CheckSourceCompilesWithFlags)
3232
check_cxx_source_compiles_with_flags("${check_socket_source}" IFADDR_NEEDS_LINK_TO_LIBSOCKET
3333
LINK_LIBRARIES socket
3434
)
@@ -83,7 +83,7 @@ function(test_append_atomic_library target)
8383
include(CheckCXXSourceCompiles)
8484
check_cxx_source_compiles("${check_atomic_source}" STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC)
8585
if(NOT STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC)
86-
include(CheckSourceCompilesAndLinks)
86+
include(CheckSourceCompilesWithFlags)
8787
check_cxx_source_compiles_with_flags("${check_atomic_source}" STD_ATOMIC_NEEDS_LINK_TO_LIBATOMIC
8888
LINK_LIBRARIES atomic
8989
)

0 commit comments

Comments
 (0)