projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475dc31
)
[BOOTMGFW] Set the subsystem differently between GCC and MSVC builds.
author
Amine Khaldi
<amine.khaldi@reactos.org>
Fri, 4 Sep 2015 14:40:15 +0000
(14:40 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Fri, 4 Sep 2015 14:40:15 +0000
(14:40 +0000)
svn path=/trunk/; revision=68995
reactos/boot/environ/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/reactos/boot/environ/CMakeLists.txt
b/reactos/boot/environ/CMakeLists.txt
index
241f4ca
..
3506aab
100644
(file)
--- a/
reactos/boot/environ/CMakeLists.txt
+++ b/
reactos/boot/environ/CMakeLists.txt
@@
-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)