File tree Expand file tree Collapse file tree 2 files changed +170
-258
lines changed
Expand file tree Collapse file tree 2 files changed +170
-258
lines changed Original file line number Diff line number Diff line change 11# basic info
22cmake_minimum_required (VERSION 3.22 FATAL_ERROR )
3+
4+ # for CMake 3.30+ (normalizes install destination paths)
5+ if (POLICY CMP0177)
6+ cmake_policy (SET CMP0177 NEW )
7+ endif ()
8+
39project (
410 VMAware
511 DESCRIPTION "VM detection library"
@@ -16,11 +22,10 @@ set(CMAKE_CXX_EXTENSIONS OFF)
1622if (MSVC )
1723 # Globally disable specific MSVC warnings from external headers
1824 add_compile_options (
19- /wd5039 # 'TpSetCallbackCleanupGroup' potentially throwing
25+ /wd4626 # deleted assignment
26+ /wd4668 # undefined macro replaced with '0'
2027 /wd4820 # padding added after data member
21- /wd4626 # deleted assignment operator
2228 /wd5045 # Spectre mitigation notice
23- /wd4668 # undefined macro replaced with '0'
2429 /Zc:enumTypes # use enum underlying type canonicalization
2530 )
2631endif ()
You can’t perform that action at this time.
0 commit comments