# | Line 38 | Line 38 | if(NOT WIN32) | |
---|---|---|
38 | endif() | |
39 | ||
40 | if(WIN32) | |
41 | + | set(CPACK_NSIS_INSTALL_ROOT "C:") |
42 | set(CPACK_NSIS_MODIFY_PATH 1) | |
43 | set(qt_plugin_term "LIBRARY") | |
44 | ||
# | Line 130 | Line 131 | set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) | |
131 | ||
132 | if(MSVC) | |
133 | add_definitions(/MP) | |
134 | + | # Suppress warnings about double-to-float assignments and initializations |
135 | + | add_compile_options(/wd"4244" /wd"4305") |
136 | endif() | |
137 | if(WIN32 AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(Intel)$") | |
138 | set(_INTEL_WINDOWS 1) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |