mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +01:00
cmake: allow using any build directory
$ cmake -B /tmp/aquamarine_build $ cmake --build /tmp/aquamarine_build [...] src/backend/drm/DRM.cpp:25:10: fatal error: 'hwdata.hpp' file not found 25 | #include "hwdata.hpp" | ^~~~~~~~~~~~
This commit is contained in:
parent
5d08afba5a
commit
92b4b01501
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ file(GLOB_RECURSE PUBLIC_HEADERS CONFIGURE_DEPENDS "include/*.hpp")
|
|||
add_library(aquamarine SHARED ${SRCFILES})
|
||||
target_include_directories( aquamarine
|
||||
PUBLIC "./include"
|
||||
PRIVATE "./src" "./src/include" "./protocols" "./build"
|
||||
PRIVATE "./src" "./src/include" "./protocols" "${CMAKE_BINARY_DIR}"
|
||||
)
|
||||
set_target_properties(aquamarine PROPERTIES
|
||||
VERSION ${AQUAMARINE_VERSION}
|
||||
|
|
Loading…
Reference in a new issue