26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
--- a/src/runtime_src/core/common/aiebu/src/cpp/aiebu/utils/asm/CMakeLists.txt
|
|
+++ b/src/runtime_src/core/common/aiebu/src/cpp/aiebu/utils/asm/CMakeLists.txt
|
|
@@ -23,8 +23,6 @@ add_executable(aiebu-asm $<TARGET_OBJECTS:aiebu_asm_objects>)
|
|
target_link_libraries(aiebu-asm PRIVATE aiebu_static)
|
|
|
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|
- target_link_options(aiebu-asm PRIVATE "-static")
|
|
- set_target_properties(aiebu-asm PROPERTIES INSTALL_RPATH "" BUILD_RPATH "")
|
|
|
|
# Create a dynamically linked executable. aiebu-asm-dyn, on Linux for running
|
|
# valgrind, etc. This binary is not released for deployment but only used for
|
|
@@ -35,13 +33,6 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|
target_link_libraries(aiebu-asm-dyn PRIVATE aiebu_static)
|
|
endif()
|
|
|
|
-# This custom target fails if aiebu-asm has any dynamic dependencies
|
|
-add_custom_target(check_dynamic_deps ALL
|
|
- COMMAND ${CMAKE_COMMAND} -E echo "Checking for dynamic dependencies ..."
|
|
- COMMAND ${CMAKE_COMMAND} -P "${AIEBU_SOURCE_DIR}/cmake/depends.cmake" $<TARGET_FILE:aiebu-asm> aiebu-asm_depends.txt
|
|
- DEPENDS aiebu-asm
|
|
- )
|
|
-
|
|
install(TARGETS aiebu-asm
|
|
RUNTIME DESTINATION ${AIEBU_INSTALL_BIN_DIR}
|
|
CONFIGURATIONS Debug Release COMPONENT Runtime
|