Skip to content

Commit d1dbc24

Browse files
committed
[cmake] Add HYPERV_HCS_ENABLED definition
1 parent ba2a8fc commit d1dbc24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ if(MSVC)
284284
add_definitions(-DSECURITY_WIN32)
285285
set(MULTIPASS_BACKENDS hyperv virtualbox)
286286
if(HYPERV_HCS_ENABLED)
287+
add_definitions(-DHYPERV_HCS_ENABLED=1)
287288
list(APPEND MULTIPASS_BACKENDS hyperv_api)
288289
endif()
289290
set(MULTIPASS_PLATFORM windows)

0 commit comments

Comments
 (0)