Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs

This commit is contained in:
Brice Gros
2019-10-18 15:35:02 +02:00
parent d658cc25e7
commit 990f7825b5
25 changed files with 60 additions and 45 deletions

View File

@@ -8,8 +8,8 @@ POCO_HEADERS_AUTO( MYSQL_SRCS ${HDRS_G})
# Version Resource
if(MSVC AND NOT POCO_STATIC)
source_group("Resources" FILES ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
list(APPEND MYSQL_SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
source_group("Resources" FILES ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
list(APPEND MYSQL_SRCS ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
endif()
add_library(DataMySQL ${MYSQL_SRCS} )