CMake: Create PocoConfig.cmake to make importable from other CMake projects

The generated PocoConfig.cmake can be used by other CMake projects using find_package.
This commit is contained in:
Pascal Bach
2014-10-09 13:42:51 +02:00
parent c5ffa2629d
commit b69fafb84c
39 changed files with 677 additions and 166 deletions

View File

@@ -0,0 +1,5 @@
include(CMakeFindDependencyMacro)
set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(PocoFoundation)
find_dependency(PocoData)
include("${CMAKE_CURRENT_LIST_DIR}/PocoDataMySQLTargets.cmake")