Skip to content

Commit 53b99be

Browse files
committed
Remove ENABLE_SVG leftovers.
SVG support is now mandatory in Webkit, having these optional prevents building.
1 parent 691b39a commit 53b99be

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

Source/WebKit/PlatformHaiku.cmake

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,13 @@ LIST(APPEND WebKit_INCLUDE_DIRECTORIES
66
"${WEBCORE_DIR}/platform/haiku"
77
"${WEBCORE_DIR}/platform/graphics/haiku"
88
"${WEBCORE_DIR}/platform/network/haiku"
9+
"${WEBCORE_DIR}/rendering/svg"
10+
"${WEBCORE_DIR}/svg"
11+
"${WEBCORE_DIR}/svg/animation"
912
${LIBXML2_INCLUDE_DIR}
1013
${LIBXSLT_INCLUDE_DIR}
1114
${SQLITE_INCLUDE_DIR}
12-
)
13-
14-
IF (ENABLE_SVG)
15-
LIST(APPEND WebKit_INCLUDE_DIRECTORIES
16-
"${WEBCORE_DIR}/svg"
17-
"${WEBCORE_DIR}/svg/animation"
18-
"${WEBCORE_DIR}/rendering/svg"
1915
)
20-
ENDIF ()
2116

2217
IF (ENABLE_VIDEO_TRACK)
2318
LIST(APPEND WebKit_INCLUDE_DIRECTORIES

Source/cmake/OptionsHaiku.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ if (ENABLE_WEBKIT2 AND ENABLE_NETSCAPE_PLUGIN_API)
9494
set(ENABLE_PLUGIN_PROCESS 1)
9595
endif ()
9696

97-
IF (NOT ENABLE_SVG)
98-
SET(ENABLE_SVG_FONTS 0)
99-
ENDIF ()
100-
10197
if (ENABLE_BATTERY_STATUS)
10298
find_package(DBus REQUIRED)
10399
endif ()

0 commit comments

Comments
 (0)