Skip to content
This repository was archived by the owner on Dec 25, 2022. It is now read-only.

Commit ba989ac

Browse files
committed
cmake: Remove unnecesary include directories and commented out line
The include directories were only required for a brief period when ladybird was compiling IPC itself. That has since been moved to the Lagom build in serenity.
1 parent c4373c1 commit ba989ac

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,8 @@ set(SOURCES
6565
qt_add_executable(ladybird ${SOURCES}
6666
MANUAL_FINALIZATION
6767
)
68-
#target_link_libraries(ladybird PRIVATE Qt::Widgets Qt::Network LibWeb LibGUI LibWeb LibWebView LibGL LibSoftGPU LibMain)
6968
target_link_libraries(ladybird PRIVATE Qt::Widgets Qt::Network LibWeb LibWebSocket LibGUI LibWebView LibGL LibSoftGPU LibMain)
7069

71-
target_include_directories(ladybird PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
72-
target_include_directories(ladybird PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
73-
7470
set_target_properties(ladybird PROPERTIES
7571
MACOSX_BUNDLE_GUI_IDENTIFIER org.SerenityOS.Ladybird
7672
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}

WebContent/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ set(WEBCONTENT_SOURCES
1818

1919
qt_add_executable(WebContent ${WEBCONTENT_SOURCES})
2020

21-
target_include_directories(WebContent PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
22-
target_include_directories(WebContent PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
2321
target_link_libraries(WebContent PRIVATE Qt::Core Qt::Network Qt::Gui LibCore LibIPC LibGfx LibWebView LibWebSocket LibWeb LibMain)

0 commit comments

Comments
 (0)