summaryrefslogtreecommitdiff
path: root/Source/WebCore/UseJSC.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/UseJSC.cmake')
-rw-r--r--Source/WebCore/UseJSC.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/WebCore/UseJSC.cmake b/Source/WebCore/UseJSC.cmake
index 87ca9969a..3e60a3e88 100644
--- a/Source/WebCore/UseJSC.cmake
+++ b/Source/WebCore/UseJSC.cmake
@@ -304,10 +304,7 @@ FOREACH (_include ${WebCoreTestSupport_IDL_INCLUDES})
LIST(APPEND IDL_INCLUDES --include=${WEBCORE_DIR}/${_include})
ENDFOREACH ()
-SET(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT=1")
-FOREACH (_feature ${FEATURE_DEFINES})
- SET(FEATURE_DEFINES_JAVASCRIPT "${FEATURE_DEFINES_JAVASCRIPT} ${_feature}")
-ENDFOREACH ()
+SET(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
# Create JavaScript C++ code given an IDL input
FOREACH (_idl ${WebCore_IDL_FILES})