From b2ecf990083a3aaba96200b1b87b5ccb2679f931 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 18 Feb 2015 11:36:49 -0800 Subject: [PATCH] back out of lib cmake dir to get Qt bin --- BUILD_WIN.md | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD_WIN.md b/BUILD_WIN.md index a3c15eea37..5f3e4c2228 100644 --- a/BUILD_WIN.md +++ b/BUILD_WIN.md @@ -32,7 +32,7 @@ NOTE: Qt does not support 64-bit builds on Windows 7, so you must use the 32-bit * [Download the offline installer](http://download.qt-project.org/official_releases/qt/5.3/5.3.2/qt-opensource-windows-x86-msvc2013_opengl-5.3.2.exe) Once Qt is installed, you need to manually configure the following: -* Set the QT_CMAKE_PREFIX_PATH environment variable to your `Qt\5.3.2\msvc2013_opengl` directory. +* Set the QT_CMAKE_PREFIX_PATH environment variable to your `Qt\5.3.2\msvc2013_opengl\lib\cmake` directory. * You can set an environment variable from Control Panel > System > Advanced System Settings > Environment Variables > New ###External Libraries diff --git a/CMakeLists.txt b/CMakeLists.txt index c821eafe90..7238cd14a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,7 +127,7 @@ if (ANDROID) endif () if (WIN32) - add_paths_to_lib_paths("${QT_CMAKE_PREFIX_PATH}/bin") + add_paths_to_lib_paths("${QT_CMAKE_PREFIX_PATH}\\..\\..\\bin") endif () # add subdirectories for all targets