mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
[CMAKE] Take into account the build type when referencing rsym.
svn path=/trunk/; revision=67688
This commit is contained in:
parent
a4e41cab78
commit
7af59d2927
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,8 @@ elseif(NO_ROSSYM)
|
|||
set(CMAKE_RC_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> ${CMAKE_C_FLAGS} <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
else()
|
||||
# Normal rsym build
|
||||
get_target_property(RSYM native-rsym IMPORTED_LOCATION)
|
||||
string(TOUPPER ${CMAKE_BUILD_TYPE} _build_type)
|
||||
get_target_property(RSYM native-rsym IMPORTED_LOCATION_${_build_type})
|
||||
set(CMAKE_C_LINK_EXECUTABLE
|
||||
"<CMAKE_C_COMPILER> ${CMAKE_C_FLAGS} <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>"
|
||||
"${RSYM} -s ${REACTOS_SOURCE_DIR} <TARGET> <TARGET>")
|
||||
|
|
Loading…
Reference in a new issue