Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:kubic:ei-demo
dldt
no-rpath.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-rpath.patch of Package dldt
diff --git a/inference-engine/samples/CMakeLists.txt b/inference-engine/samples/CMakeLists.txt index f355e7b9..c8b512b5 100644 --- a/inference-engine/samples/CMakeLists.txt +++ b/inference-engine/samples/CMakeLists.txt @@ -6,6 +6,8 @@ cmake_minimum_required (VERSION 2.8.12) project(Samples) +set(CMAKE_SKIP_RPATH FALSE) + if (CMAKE_BUILD_TYPE STREQUAL "") message(STATUS "CMAKE_BUILD_TYPE not defined, 'Release' will be used") set(CMAKE_BUILD_TYPE "Release") diff --git a/inference-engine/samples/common/format_reader/CMakeLists.txt b/inference-engine/samples/common/format_reader/CMakeLists.txt index 6d935135..7e807065 100644 --- a/inference-engine/samples/common/format_reader/CMakeLists.txt +++ b/inference-engine/samples/common/format_reader/CMakeLists.txt @@ -26,11 +26,11 @@ if(NOT OpenCV_FOUND) message(WARNING "OPENCV is disabled or not found, " ${TARGET_NAME} " will be built without OPENCV support") else() target_link_libraries(${TARGET_NAME} PRIVATE ${OpenCV_LIBRARIES}) - if(UNIX AND NOT APPLE) - # Workaround issue that rpath-link is missing for PRIVATE dependencies - # Fixed in cmake 3.16.0 https://gitlab.kitware.com/cmake/cmake/issues/19556 - target_link_libraries(${TARGET_NAME} INTERFACE "-Wl,-rpath-link,${OpenCV_INSTALL_PATH}/lib") - endif() + #if(UNIX AND NOT APPLE) + # # Workaround issue that rpath-link is missing for PRIVATE dependencies + # # Fixed in cmake 3.16.0 https://gitlab.kitware.com/cmake/cmake/issues/19556 + # target_link_libraries(${TARGET_NAME} INTERFACE "-Wl,-rpath-link,${OpenCV_INSTALL_PATH}/lib") + #endif() target_compile_definitions(${TARGET_NAME} PRIVATE USE_OPENCV) endif()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor