mirror of
https://github.com/oatpp/oatpp-postgresql.git
synced 2024-11-27 02:39:56 +08:00
Merge pull request #15 from toge/add-bigobj-flag
add bigobj flag to solve fatal error in Visual Studio
This commit is contained in:
commit
d976ba6950
@ -47,6 +47,10 @@ target_link_libraries(${OATPP_THIS_MODULE_NAME}
|
||||
PUBLIC ${PostgreSQL_LIBRARIES}
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(${OATPP_THIS_MODULE_NAME} PRIVATE "/bigobj")
|
||||
endif()
|
||||
|
||||
#######################################################################################################
|
||||
## install targets
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user