mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:11:57 +00:00
[CMAKE]
* User the proper target var name. CORE-7959 svn path=/trunk/; revision=62424
This commit is contained in:
parent
47ce544479
commit
41202d274f
1 changed files with 3 additions and 3 deletions
|
@ -460,11 +460,11 @@ function(set_module_type MODULE TYPE)
|
|||
# Handle hotpatchable images.
|
||||
# GCC has this as a function attribute so we're handling it using DECLSPEC_HOTPATCH
|
||||
if(__module_HOTPATCHABLE AND MSVC)
|
||||
set_property(TARGET ${_target} APPEND_STRING PROPERTY COMPILE_FLAGS " /hotpatch")
|
||||
set_property(TARGET ${MODULE} APPEND_STRING PROPERTY COMPILE_FLAGS " /hotpatch")
|
||||
if(ARCH STREQUAL "i386")
|
||||
set_property(TARGET ${_target} APPEND_STRING PROPERTY LINK_FLAGS " /FUNCTIONPADMIN:5")
|
||||
set_property(TARGET ${MODULE} APPEND_STRING PROPERTY LINK_FLAGS " /FUNCTIONPADMIN:5")
|
||||
elseif(ARCH STREQUAL "amd64")
|
||||
set_property(TARGET ${_target} APPEND_STRING PROPERTY LINK_FLAGS " /FUNCTIONPADMIN:6")
|
||||
set_property(TARGET ${MODULE} APPEND_STRING PROPERTY LINK_FLAGS " /FUNCTIONPADMIN:6")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue