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

EA Correct path · PhysicsX/QTonRaspberryPi@d108d79 · GitHub
Skip to content

Commit

Permalink
Correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
PhysicsX committed Nov 16, 2024
1 parent 8219cec commit d108d79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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})
Expand Down

0 comments on commit d108d79

Please sign in to comment.








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

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy