File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ fn build_and_link_libsbml(dep_build: &str) -> miette::Result<String> {
92
92
// This is necessary because the libraries are not installed in the
93
93
// system directories by default. Unlinke MacOS and Linux kernels
94
94
cmake:: Config :: new ( LIBSBML_PATH )
95
+ . define ( "CMAKE_BUILD_TYPE" , "Release" )
95
96
. define ( "WITH_STATIC_RUNTIME" , WITH_STATIC_RUNTIME )
96
97
. define ( "WITH_LIBXML" , WITH_LIBXML )
97
98
. define ( "WITH_EXPAT" , WITH_EXPAT )
@@ -122,6 +123,7 @@ fn build_and_link_libsbml(dep_build: &str) -> miette::Result<String> {
122
123
. define ( "WITH_STATIC_RUNTIME" , WITH_STATIC_RUNTIME )
123
124
. define ( "WITH_LIBXML" , WITH_LIBXML )
124
125
. define ( "WITH_EXPAT" , WITH_EXPAT )
126
+ . define ( "LIBSBML_USE_STRICT_INCLUDES" , "True" )
125
127
. build ( )
126
128
} ;
127
129
@@ -159,7 +161,6 @@ fn build_and_link_sbml_deps() -> miette::Result<String> {
159
161
. define ( "WITH_BZIP2" , "False" )
160
162
. define ( "WITH_CHECK" , "False" )
161
163
. define ( "BUILD_SHARED_LIBS" , "False" )
162
- . define ( "MSVC" , "ON" )
163
164
. build ( ) ;
164
165
165
166
// Configure cargo to link against the built libraries
You can’t perform that action at this time.
0 commit comments