mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-22 05:33:32 +01:00
cmake: added /bigobj option for msvc
This commit is contained in:
parent
6b28602ccf
commit
dec6bc3918
@ -8,6 +8,11 @@ if (NOT POCO_STATIC)
|
||||
add_definitions(-DData_EXPORTS -DTHREADSAFE -DODBC_EXPORTS -DMySQL_EXPORTS -DSQLite_EXPORTS)
|
||||
endif (NOT POCO_STATIC)
|
||||
|
||||
if(MSVC AND NOT(MSVC_VERSION LESS 1400))
|
||||
set_source_files_properties(src/StatementImpl.cpp
|
||||
PROPERTIES COMPILE_FLAGS "/bigobj")
|
||||
endif()
|
||||
|
||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||
set_target_properties( ${LIBNAME}
|
||||
PROPERTIES
|
||||
|
Loading…
x
Reference in New Issue
Block a user