Skip to content

Commit 01ed264

Browse files
CMake option REDUCE_LVGL_BINARY_SIZE should be available only under GNU builds
1 parent 24d89a5 commit 01ed264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/graphics/lvgl_lib/lvgl_library/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,6 @@ if(REDUCE_LVGL_BINARY_SIZE)
360360
target_compile_options(
361361
${TARGET_NAME}
362362
PUBLIC
363-
-Os
363+
$<$<CXX_COMPILER_ID:GNU>:-Os>
364364
)
365365
endif()

0 commit comments

Comments
 (0)