Always include CMake binary dir in include path.

This commit is contained in:
Bartosz Taudul 2024-09-08 14:52:57 +02:00
parent 1950040461
commit c783a48bae
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -98,12 +98,11 @@ set(PROFILER_FILES
src/winmainArchDiscovery.cpp
)
set(INCLUDES "")
set(INCLUDES "${CMAKE_CURRENT_BINARY_DIR}")
set(LIBS "")
if(USE_WAYLAND)
pkg_check_modules(WAYLAND REQUIRED egl wayland-egl wayland-cursor xkbcommon)
set(INCLUDES "${INCLUDES};${CMAKE_CURRENT_BINARY_DIR}")
set(LIBS "${LIBS};${WAYLAND_LIBRARIES}")
set(PROFILER_FILES ${PROFILER_FILES}
src/BackendWayland.cpp