From 643172a8dfeed5d849a6bf8c3090a70c3acb7579 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 8 Oct 2020 16:36:10 +0200 Subject: [PATCH] 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 --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e5d2a26..5feb49a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)