File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,13 @@ function(lua_source varname filename symbolname)
3434endfunction ()
3535
3636macro (AppendFlags flags )
37- foreach (flag ${ARGN} )
38- set (${flags} "${${flags} } ${flag} " )
39- endforeach ()
37+ foreach (flag ${ARGN} )
38+ message (STATUS "XXXX ${flags} " )
39+ message (STATUS "XXXX flags" )
40+ if (${flags} )
41+ set (${flags} "${${flags} } ${flag} " )
42+ else ()
43+ set (${flags} "${flag} " )
44+ endif ()
45+ endforeach ()
4046endmacro ()
Original file line number Diff line number Diff line change @@ -27,13 +27,10 @@ target_link_libraries(
2727 >
2828)
2929
30- if (NOT LDFLAGS)
31- set (LDFLAGS)
32- endif ()
33-
3430if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
3531 AppendFlags(LDFLAGS ${CMAKE_C_FLAGS_DEBUG} )
3632endif ()
33+ message (STATUS "LDFLAGS ${LDFLAGS} " )
3734
3835if (ENABLE_ASAN)
3936 AppendFlags(LDFLAGS -fsanitize=address)
You can’t perform that action at this time.
0 commit comments