CMake: Remove ${CMAKE_BINARY_DIR} from CMAKE_PREFIX_PATH

This is a left-over from before the bin, lib, ... directories were moved
to the qtbase build directory.

Change-Id: I24bfa36289648288b2b44cc809e0c390cd2c043b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann
2020-10-08 16:36:10 +02:00
parent ca02358af2
commit 643172a8df

View File

@@ -48,8 +48,6 @@ endif()
include(ECMOptionalAddSubdirectory)
include(TopologicalSort)
# Use the CMake config files from the binary dir
list(APPEND CMAKE_PREFIX_PATH "${CMAKE_BINARY_DIR}")
# Also make sure the CMake config files do not recreate the already-existing targets
if (NOT QT_BUILD_STANDALONE_TESTS)
set(QT_NO_CREATE_TARGETS TRUE)