From f6345ce90f818ca957cc30622151bd10fe0f0513 Mon Sep 17 00:00:00 2001 From: Andrei-Fabian-Pop Date: Fri, 30 Aug 2024 13:10:24 +0300 Subject: [PATCH] debugger/CMakeLists.txt: Remove unused install target destination Signed-off-by: Andrei-Fabian-Pop --- plugins/debugger/CMakeLists.txt | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/plugins/debugger/CMakeLists.txt b/plugins/debugger/CMakeLists.txt index b62988b6cb..e6684d0628 100644 --- a/plugins/debugger/CMakeLists.txt +++ b/plugins/debugger/CMakeLists.txt @@ -49,14 +49,6 @@ endif() set(PROJECT_SOURCES ${SRC_LIST} ${HEADER_LIST} ${UI_LIST}) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS REQUIRED Widgets Core) -if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${SCOPY_PLUGIN_BUILD_PATH}) -elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Scopy.app/Contents/MacOS/plugins/plugins") -else() - set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${SCOPY_PLUGIN_BUILD_PATH}) -endif() - qt_add_resources(PROJECT_RESOURCES res/resources.qrc) add_library(${PROJECT_NAME} SHARED ${PROJECT_SOURCES} ${PROJECT_RESOURCES}) @@ -83,6 +75,4 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") configureinstallersettings(${SCOPY_MODULE} ${PLUGIN_DESCRIPTION} FALSE) endif() -set(IIODEBUG_TARGET_NAME ${PROJECT_NAME} PARENT_SCOPE) - -install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${SCOPY_PLUGIN_INSTALL_DIR}) +set(DEBUGGER_TARGET_NAME ${PROJECT_NAME} PARENT_SCOPE)