Skip to content

Commit dcc175f

Browse files
committed
fix compiler options
1 parent b959e1a commit dcc175f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID MATCHES "Clang"
6868
list(APPEND _picky "-Wconversion" "-Wmissing-prototypes" "-Wwrite-strings" "-Wsign-compare" "-Wno-sign-conversion")
6969
endif()
7070

71-
string(REPLACE ";" " " _picky "${_picky_tmp}")
72-
message(STATUS "Picky compiler options:${_picky_tmp}")
71+
string(REPLACE ";" " " _picky_tmp "${_picky}")
72+
message(STATUS "Picky compiler options: ${_picky_tmp}")
7373
set_property(DIRECTORY APPEND PROPERTY COMPILE_OPTIONS "${_picky}")
7474

7575
# Build

0 commit comments

Comments
 (0)