Thursday, 8 November 2018

[gccsdk] Set PKG_CONFIG_LIBDIR in the CMake toolchain file.

Index: porting-scripts/toolchain-riscos.cmake
===================================================================
--- porting-scripts/toolchain-riscos.cmake (revision 7200)
+++ porting-scripts/toolchain-riscos.cmake (working copy)
@@ -15,3 +15,5 @@
# for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+
+SET(ENV{PKG_CONFIG_LIBDIR} GCCSDK_ENV/lib/pkgconfig:GCCSDK_ENV/share/pkgconfig)
Hi

Attached is a patch that sets the "PKG_CONFIG_LIBDIR" environment variable in the CMake toolchain file.

Best regards
Cameron

No comments:

Post a Comment