1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 05:03:53 +00:00

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 src/winmainArchDiscovery.cpp
) )
set(INCLUDES "") set(INCLUDES "${CMAKE_CURRENT_BINARY_DIR}")
set(LIBS "") set(LIBS "")
if(USE_WAYLAND) if(USE_WAYLAND)
pkg_check_modules(WAYLAND REQUIRED egl wayland-egl wayland-cursor xkbcommon) pkg_check_modules(WAYLAND REQUIRED egl wayland-egl wayland-cursor xkbcommon)
set(INCLUDES "${INCLUDES};${CMAKE_CURRENT_BINARY_DIR}")
set(LIBS "${LIBS};${WAYLAND_LIBRARIES}") set(LIBS "${LIBS};${WAYLAND_LIBRARIES}")
set(PROFILER_FILES ${PROFILER_FILES} set(PROFILER_FILES ${PROFILER_FILES}
src/BackendWayland.cpp src/BackendWayland.cpp