File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 run : >
9898 cmake -S . -B ./build
9999 -DCMAKE_BUILD_TYPE:STRING=Release
100- -DJSONSCHEMA_PORTABLE:BOOL=ON
101100 -DJSONSCHEMA_TESTS:BOOL=ON
102101 -DJSONSCHEMA_TESTS_CI:BOOL=ON
103102 -DJSONSCHEMA_DEVELOPMENT:BOOL=ON
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ option(JSONSCHEMA_CONTINUOUS "Perform a continuous JSON Schema CLI release" ON)
1212option (JSONSCHEMA_PORTABLE "Build a portable JSON Schema CLI binary to increase platform support" OFF )
1313
1414find_package (Core REQUIRED )
15- if (NOT JSONSCHEMA_PORTABLE)
15+ if (NOT JSONSCHEMA_PORTABLE AND NOT MSVC )
1616 message (STATUS "Building an optimised but less portable binary (JSONSCHEMA_PORTABLE)" )
1717 set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native" )
1818 set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mtune=native" )
You can’t perform that action at this time.
0 commit comments