Author: akhaldi Date: Fri Sep 4 14:40:15 2015 New Revision: 68995
URL: http://svn.reactos.org/svn/reactos?rev=68995&view=rev Log: [BOOTMGFW] Set the subsystem differently between GCC and MSVC builds.
Modified: trunk/reactos/boot/environ/CMakeLists.txt
Modified: trunk/reactos/boot/environ/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/CMakeLists.txt... ============================================================================== --- trunk/reactos/boot/environ/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/boot/environ/CMakeLists.txt [iso-8859-1] Fri Sep 4 14:40:15 2015 @@ -50,7 +50,13 @@ 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)