8000 Use CMake SET instead of string CONCAT · Reification/unittest-cpp@e161d44 · GitHub
[go: up one dir, main page]

Skip to content

Commit e161d44

Browse files
committed
Use CMake SET instead of string CONCAT
string(CONCAT...) was not available in older versions of CMake targeted by this project.
1 parent 2e2475f commit e161d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (${UTPP_AMPLIFY_WARNINGS})
3333
if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
3434
string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
3535
else()
36-
string(CONCAT CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" " -Wall -Wextra -Werror -Wno-ignored-qualifiers")
36+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -Wno-ignored-qualifiers")
3737
endif()
3838
endif()
3939

0 commit comments

Comments
 (0)
0