summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorTony Kelman <tony@kelman.net>2015-03-17 12:05:07 -0700
committerTony Kelman <tony@kelman.net>2015-03-17 12:05:07 -0700
commit7aa96593fa6dcbe4f976137bc105037257e5c26d (patch)
tree6998a978fdd490a900aee7f8ea449ee648e2801a /script
parent547517d7f9c7519681c67eb89cb6343a4457eb27 (diff)
downloadlibgit2-7aa96593fa6dcbe4f976137bc105037257e5c26d.tar.gz
set PKG_CONFIG_LIBDIR in toolchain-mingw32.cmake
Diffstat (limited to 'script')
-rw-r--r--script/toolchain-mingw32.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/toolchain-mingw32.cmake b/script/toolchain-mingw32.cmake
index 3ccdec22a..2536b01c3 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)