Merge pull request #2815 from brice-gros/brice.gros/1.10.0+allow-for-cmake-fetchcontent

Make Poco git repository fetchable using CMake's FetchContent
This commit is contained in:
Günter Obiltschnig
2019-11-25 21:24:16 +01:00
committed by GitHub
22 changed files with 46 additions and 43 deletions

View File

@@ -13,8 +13,8 @@ POCO_HEADERS_AUTO( SRCS ${HDRS_G})
# Version Resource
if(MSVC AND NOT POCO_STATIC)
source_group("Resources" FILES ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
source_group("Resources" FILES ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SRCS ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
endif()
# If POCO_UNBUNDLED is enabled we try to find the required packages