mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 17:56:11 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user