Commit 7aa96593fa6dcbe4f976137bc105037257e5c26d

Tony Kelman 2015-03-17T12:05:07

set PKG_CONFIG_LIBDIR in toolchain-mingw32.cmake

1
2
3
4
5
6
7
8
9
10
diff --git a/script/toolchain-mingw32.cmake b/script/toolchain-mingw32.cmake
index 3ccdec2..2536b01 100644
--- a/script/toolchain-mingw32.cmake
+++ b/script/toolchain-mingw32.cmake
@@ -9,3 +9,5 @@ SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc)
 SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
 SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
 SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+
+SET(ENV{PKG_CONFIG_LIBDIR} ${CMAKE_FIND_ROOT_PATH}/lib/pkgconfig)