include version resource in DLLs built with CMake

This commit is contained in:
Günter Obiltschnig
2019-06-24 15:39:06 +02:00
parent 472684e13c
commit 9a8ab0858f
20 changed files with 122 additions and 3 deletions

View File

@@ -19,6 +19,12 @@ else()
)
endif()
# Version Resource
if(MSVC AND NOT POCO_STATIC)
source_group("Resources" FILES ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SQLITE_SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
endif()
add_library(DataSQLite ${SQLITE_SRCS} )
add_library(Poco::DataSQLite ALIAS DataSQLite)