diff options
author | Itamar <itamar8910@gmail.com> | 2022-03-19 17:15:08 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-19 22:02:44 +0100 |
commit | b6f358689cb3ece58e3cfef0ee7177b66405fe76 (patch) | |
tree | 6df58bc5c23b89082d6d38bb5b450bbce48b364e /CMakeLists.txt | |
parent | fe7d28e8701258640b1d485394f4fff7b14099a1 (diff) | |
download | serenity-b6f358689cb3ece58e3cfef0ee7177b66405fe76.zip |
CMake: Modify include path when building from Hack Studio
With regular builds, the generated IPC headers exist inside the Build
directory. The path Userland/Services under the build directory is
added to the include path.
For in-system builds the IPC headers are installed at /usr/include/.
To support this, we add /usr/include/Userland/Services to the build path
when building from Hack Studio.
Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 71546875af..4d1caa6db3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,6 +269,7 @@ serenity_component( ) if (HACKSTUDIO_BUILD) + include_directories(/usr/include/Userland/Services) include(${HACKSTUDIO_BUILD_CMAKE_FILE}) return() endif() |