Skip to content
Snippets Groups Projects
Commit 8b5f6c90 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: need /bigobj compilation flag on windows for compiling otbWrapperInputImageParameter.cxx

parent e7ea3f50
Branches
Tags
No related merge requests found
......@@ -2,6 +2,11 @@
# Sources of non-templated classes.
FILE(GLOB OTBApplicationEngine_SRCS "*.cxx" )
IF (WIN32)
SET(CMAKE_C_FLAGS "/bigobj ${CMAKE_CXX_FLAGS}")
SET(CMAKE_CXX_FLAGS "/bigobj ${CMAKE_CXX_FLAGS}")
ENDIF(WIN32)
ADD_LIBRARY(OTBApplicationEngine ${OTBApplicationEngine_SRCS})
TARGET_LINK_LIBRARIES (OTBApplicationEngine OTBCommon OTBIO)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment