Don't test DLLDESTDIR when calculating dll location.
The DLLDESTDIR is not related to the install location and is not populated for prefix_build configurations. That resulted in the CMake files attempting to find the dlls in the lib/ directory instead of the bin/ directory. Change-Id: Iec6a7c9b6dd656278b70ab128f3df9e8c45bbe4a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>bb10
parent
5f47ce0951
commit
e29b35024e
|
|
@ -68,7 +68,7 @@ contains(CMAKE_PLUGIN_DIR, "^\\.\\./.*") {
|
|||
CMAKE_PLUGIN_DIR_IS_ABSOLUTE = True
|
||||
}
|
||||
|
||||
!isEmpty(DLLDESTDIR):!static:!staticlib {
|
||||
win32:!wince:!static:!staticlib {
|
||||
CMAKE_DLL_DIR = $$cmakeRelativePath($$[QT_INSTALL_BINS], $$[QT_INSTALL_PREFIX])
|
||||
contains(CMAKE_DLL_DIR, "^\\.\\./.*") {
|
||||
CMAKE_DLL_DIR = $$[QT_INSTALL_BINS]/
|
||||
|
|
|
|||
Loading…
Reference in New Issue