We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4715234 commit 271c128Copy full SHA for 271c128
CMakeLists.txt
@@ -315,17 +315,10 @@ if (MSVC)
315
add_definitions(/D_UWIN)
316
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /GX")
317
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /I${EIGEN3_INCLUDE_DIR} /GX")
318
- else()
319
- #enable multi-processor compilation
320
- add_definitions("/MP")
321
- #Though zlib mightn't compile with it set, with Visual Studio 2019.
322
- #It didn't for me. But it compiled with it with Visual Studio 2022.
323
endif()
324
if (CMAKE_BUILD_TYPE STREQUAL "Release")
325
add_definitions(/Ot /Oi)
326
- if (VCC)
327
- #add_definitions(/O2) - not compatible with /RTC1
328
- elseif (ICC)
+ if (ICC)
329
add_definitions(/O3)
330
331
0 commit comments