mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 17:25:03 +02:00
fixed CMakeLists.txt for version resources
This commit is contained in:
parent
545b7d7536
commit
8f84def47b
@ -12,7 +12,7 @@ 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 SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
||||
list(APPEND MYSQL_SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
||||
endif()
|
||||
|
||||
add_definitions(-DTHREADSAFE -DNO_TCL)
|
||||
|
@ -12,7 +12,7 @@ POCO_HEADERS_AUTO( ODBC_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)
|
||||
list(APPEND ODBC_SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
||||
endif()
|
||||
|
||||
add_definitions( ${ODBC_CFLAGS} -DTHREADSAFE)
|
||||
|
@ -12,7 +12,7 @@ POCO_HEADERS_AUTO( SQLITE_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)
|
||||
list(APPEND SQLITE_SRCS ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
||||
endif()
|
||||
|
||||
if (POCO_UNBUNDLED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user