[BOOTMGFW] Set the subsystem differently between GCC and MSVC builds.

svn path=/trunk/; revision=68995
This commit is contained in:
Amine Khaldi
2015-09-04 14:40:15 +00:00
parent 475dc31102
commit 0bfea85680
+7 -1
View File
@@ -50,7 +50,13 @@ else()
endif()
set_image_base(bootmgfw 0x10000)
set_subsystem(bootmgfw 10)
if(MSVC)
set_subsystem(bootmgfw EFI_APPLICATION)
else()
set_subsystem(bootmgfw 10)
endif()
set_entrypoint(bootmgfw EfiEntry)
target_link_libraries(bootmgfw bootmgr_common cportlib cmlib rtl libcntpr)