WebContent: Mark include directories as BUILD_INTERFACE
We can't have these as INSTALL_INTERFACE because they're located in the source directory.
This commit is contained in:
parent
cdd91f4b48
commit
9d192ed52e
Notes:
sideshowbarker
2024-07-17 03:00:02 +09:00
Author: https://github.com/thatoddmailbox Commit: https://github.com/LadybirdBrowser/ladybird/commit/9d192ed52e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/402 Issue: https://github.com/LadybirdBrowser/ladybird/issues/220 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 4 additions and 3 deletions
|
@ -30,9 +30,10 @@ else()
|
|||
set_target_properties(webcontent PROPERTIES AUTOMOC OFF AUTORCC OFF AUTOUIC OFF)
|
||||
endif()
|
||||
|
||||
target_include_directories(webcontent PUBLIC ${LADYBIRD_SOURCE_DIR}/Userland/Services/)
|
||||
target_include_directories(webcontent PUBLIC ${LADYBIRD_SOURCE_DIR}/Userland/)
|
||||
target_include_directories(webcontent PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
target_include_directories(webcontent PUBLIC $<BUILD_INTERFACE:${LADYBIRD_SOURCE_DIR}/Userland/Services/>)
|
||||
target_include_directories(webcontent PUBLIC $<BUILD_INTERFACE:${LADYBIRD_SOURCE_DIR}/Userland/>)
|
||||
target_include_directories(webcontent PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/..>)
|
||||
|
||||
target_link_libraries(webcontent PUBLIC LibAudio LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket LibProtocol LibWebView LibImageDecoderClient)
|
||||
|
||||
if (HAVE_PULSEAUDIO)
|
||||
|
|
Loading…
Add table
Reference in a new issue