mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
[CAKE]
- simplify set_image_base svn path=/branches/cmake-bringup/; revision=49571
This commit is contained in:
parent
d4fdd1fa4b
commit
eea0d56fec
1 changed files with 1 additions and 6 deletions
|
@ -54,12 +54,7 @@ macro(set_subsystem MODULE SUBSYSTEM)
|
|||
endmacro()
|
||||
|
||||
macro(set_image_base MODULE IMAGE_BASE)
|
||||
set(NEW_LINKER_FLAGS "-Wl,--image-base,${IMAGE_BASE}")
|
||||
get_target_property(LINKER_FLAGS ${MODULE} LINK_FLAGS)
|
||||
if(LINKER_FLAGS)
|
||||
set(NEW_LINKER_FLAGS "${LINKER_FLAGS} ${NEW_LINKER_FLAGS}")
|
||||
endif()
|
||||
set_target_properties(${MODULE} PROPERTIES LINK_FLAGS ${NEW_LINKER_FLAGS})
|
||||
add_linkerflag(${MODULE} "-Wl,--image-base,${IMAGE_BASE}")
|
||||
endmacro()
|
||||
|
||||
macro(add_importlibs MODULE)
|
||||
|
|
Loading…
Reference in a new issue