Skip to content

Commit

Permalink
Always include CMake binary dir in include path.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Sep 8, 2024
1 parent 1950040 commit c783a48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions profiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c783a48

Please sign in to comment.