diff --git a/base/CMakeLists.txt b/base/CMakeLists.txt index 34b0d7fab..5ff214cab 100755 --- a/base/CMakeLists.txt +++ b/base/CMakeLists.txt @@ -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)