forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards calls find_package() for another project located in one of the directories of the original CMAKE_PREFIX_PATH variable.
- Loading branch information
1 parent
319e2d8
commit 10425a9
Showing
17 changed files
with
23 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoCppParserTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoCppParserTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoCryptoTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoCryptoTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoData) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataMySQLTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataMySQLTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoData) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataODBCTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataODBCTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoData) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataSQLiteTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataSQLiteTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoJSONTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoJSONTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoNet) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoMongoDBTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoMongoDBTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoNetTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoNetTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoUtil) | ||
find_dependency(PocoNet) | ||
find_dependency(PocoCrypto) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoUtil) | ||
find_dependency(PocoNet) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLWinTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLWinTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoPDFTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoPDFTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoXML) | ||
find_dependency(PocoUtil) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoSevenZipTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoSevenZipTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoXML) | ||
find_dependency(PocoJSON) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoXMLTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoXMLTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
include(CMakeFindDependencyMacro) | ||
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
find_dependency(PocoFoundation) | ||
find_dependency(PocoUtil) | ||
find_dependency(PocoXML) | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoZipTargets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/PocoZipTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters