Skip to content

Commit 40267fe

Browse files
committed
Update CMake too
1 parent 03a6272 commit 40267fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/modules/shared/CompilerSettings.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "WASI")
4242
add_compile_definitions("SWT_NO_DYNAMIC_LINKING")
4343
add_compile_definitions("SWT_NO_PIPES")
4444
endif()
45+
if (NOT (APPLE OR CMAKE_SYSTEM_NAME STREQUAL "Windows"))
46+
add_compile_definitions("SWT_NO_IMAGE_ATTACHMENTS")
47+
endif()
4548

4649
file(STRINGS "${SWT_SOURCE_ROOT_DIR}/VERSION.txt" SWT_TESTING_LIBRARY_VERSION LIMIT_COUNT 1)
4750
if(SWT_TESTING_LIBRARY_VERSION)

0 commit comments

Comments
 (0)