Skip to content

Commit

Permalink
added pkg config path as env in the cmakelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinayak Y B committed Jun 28, 2024
1 parent b558e07 commit 114285a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ IF(ENABLE_LINUX)
pkg_check_modules(GLFW REQUIRED glfw3)
ENDIF()

IF(ENABLE_LINUX AND NOT ENABLE_ARM64)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
IF(ENABLE_LINUX)
set(ENV{PKG_CONFIG_PATH} "/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig")
pkg_check_modules(GDK3 REQUIRED gdk-3.0)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
ENDIF()

IF(ENABLE_CUDA)
Expand Down

0 comments on commit 114285a

Please sign in to comment.