Content-Length: 2139 | pFad | http://github.com/PhysicsX/QTonRaspberryPi/commit/d108d797f064d22ea374928d289bba5df1f42007.patch

9F From d108d797f064d22ea374928d289bba5df1f42007 Mon Sep 17 00:00:00 2001 From: PhysicsX Date: Sat, 16 Nov 2024 23:24:20 +0100 Subject: [PATCH] Correct path --- toolchain.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/toolchain.cmake b/toolchain.cmake index 608d203..ea03d6f 100644 --- a/toolchain.cmake +++ b/toolchain.cmake @@ -14,14 +14,14 @@ set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc) set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++) # Configure pkg-config environment variables -set(ENV{PKG_CONFIG_PATH} "${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}/pkgconfig:${CMAKE_SYSROOT}/usr/share/pkgconfig") -set(ENV{PKG_CONFIG_LIBDIR} "${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}/pkgconfig:${CMAKE_SYSROOT}/usr/lib/pkgconfig:${CMAKE_SYSROOT}/usr/share/pkgconfig") +set(ENV{PKG_CONFIG_PATH} "${CMAKE_SYSROOT}/lib/${TARGET_ARCHITECTURE}/pkgconfig:${CMAKE_SYSROOT}/usr/share/pkgconfig") +set(ENV{PKG_CONFIG_LIBDIR} "${CMAKE_SYSROOT}/lib/${TARGET_ARCHITECTURE}/pkgconfig:${CMAKE_SYSROOT}/usr/lib/pkgconfig:${CMAKE_SYSROOT}/usr/share/pkgconfig") set(ENV{PKG_CONFIG_SYSROOT_DIR} "${CMAKE_SYSROOT}") # Compiler and linker flags for Qt and general builds set(QT_COMPILER_FLAGS "-march=armv8-a -mtune=cortex-a72 -mfloat-abi=hard") set(QT_COMPILER_FLAGS_RELEASE "-O2 -pipe") -set(QT_LINKER_FLAGS "-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-rpath-link=${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}") +set(QT_LINKER_FLAGS "-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-rpath-link=${CMAKE_SYSROOT}/lib/${TARGET_ARCHITECTURE}") # Initialize CMake configuration variables with the specified flags set(CMAKE_C_FLAGS_INIT "${QT_COMPILER_FLAGS} -isystem=${CMAKE_SYSROOT}/usr/include") @@ -39,7 +39,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) # OpenGL and XCB libraries set(GL_INC_DIR ${CMAKE_SYSROOT}/usr/include) -set(GL_LIB_DIR ${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}) +set(GL_LIB_DIR ${CMAKE_SYSROOT}/lib/${TARGET_ARCHITECTURE}) set(EGL_INCLUDE_DIR ${GL_INC_DIR}) set(EGL_LIBRARY ${GL_LIB_DIR}/libEGL.so) set(OPENGL_INCLUDE_DIR ${GL_INC_DIR})








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/PhysicsX/QTonRaspberryPi/commit/d108d797f064d22ea374928d289bba5df1f42007.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy