Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit363c2c4

Browse files
committed
test: fix CMAKE_{C,CXX}_FLAGS manipulation
Use string concatenation instead of creating a list.
1 parent4db8959 commit363c2c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ add_compile_definitions(HOST)
121121
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
122122
add_compile_options(-Wno-cast-function-type)
123123

124-
set(CMAKE_C_FLAGS${CMAKE_C_FLAGS}"--coverage")
125-
set(CMAKE_CXX_FLAGS${CMAKE_CXX_FLAGS}"--coverage -Wno-deprecated-copy")
124+
set(CMAKE_C_FLAGS"${CMAKE_C_FLAGS} --coverage")
125+
set(CMAKE_CXX_FLAGS"${CMAKE_CXX_FLAGS} --coverage -Wno-deprecated-copy")
126126

127127
##########################################################################
128128

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp