Skip to content

Commit

Permalink
WebKitBrowser: exclude utils for glib api
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis committed Mar 26, 2021
1 parent 572073d commit b033248
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion WebKitBrowser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,12 @@ add_library(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION} SHARED
Module.cpp
WebKitImplementation.cpp
InjectedBundle/Tags.cpp
InjectedBundle/Utils.cpp
)

if(NOT WEBKIT_GLIB_API)
target_sources(${MODULE_NAME} PRIVATE InjectedBundle/Utils.cpp)
endif()

target_link_libraries(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}
PRIVATE
${NAMESPACE}Plugins::${NAMESPACE}Plugins
Expand Down

0 comments on commit b033248

Please sign in to comment.