Fix file stripping for release builds.

Change-Id: I538c366f0992980ffff1ef337807035b9378845c


[ROCm/ROCR-Runtime commit: a5a30e8199]
This commit is contained in:
James Edwards
2017-02-09 14:42:14 -06:00
parent 163ae6aa9c
commit 290cae8d87
+1 -1
Vedi File
@@ -91,7 +91,7 @@ target_link_libraries ( ${HSAKMT_TARGET}
## If the library is a release, strip the target library
if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release )
add_custom_command ( TARGET ${HSAKMT_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so* )
add_custom_command ( TARGET ${HSAKMT_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} ${HSAKMT_COMPONENT}.so )
endif ()
## Create symlinks for packaging and install