mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-02 03:27:56 +00:00
fixed CMakeLists.txt for version resources
This commit is contained in:
@@ -12,7 +12,7 @@ POCO_HEADERS_AUTO( MYSQL_SRCS ${HDRS_G})
|
|||||||
# Version Resource
|
# Version Resource
|
||||||
if(MSVC AND NOT POCO_STATIC)
|
if(MSVC AND NOT POCO_STATIC)
|
||||||
source_group("Resources" FILES ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
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()
|
endif()
|
||||||
|
|
||||||
add_definitions(-DTHREADSAFE -DNO_TCL)
|
add_definitions(-DTHREADSAFE -DNO_TCL)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ POCO_HEADERS_AUTO( ODBC_SRCS ${HDRS_G})
|
|||||||
# Version Resource
|
# Version Resource
|
||||||
if(MSVC AND NOT POCO_STATIC)
|
if(MSVC AND NOT POCO_STATIC)
|
||||||
source_group("Resources" FILES ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
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()
|
endif()
|
||||||
|
|
||||||
add_definitions( ${ODBC_CFLAGS} -DTHREADSAFE)
|
add_definitions( ${ODBC_CFLAGS} -DTHREADSAFE)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ POCO_HEADERS_AUTO( SQLITE_SRCS ${HDRS_G})
|
|||||||
# Version Resource
|
# Version Resource
|
||||||
if(MSVC AND NOT POCO_STATIC)
|
if(MSVC AND NOT POCO_STATIC)
|
||||||
source_group("Resources" FILES ${CMAKE_SOURCE_DIR}/DLLVersion.rc)
|
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()
|
endif()
|
||||||
|
|
||||||
if (POCO_UNBUNDLED)
|
if (POCO_UNBUNDLED)
|
||||||
|
|||||||
Reference in New Issue
Block a user