diff --git a/cvpcb/CMakeLists.txt b/cvpcb/CMakeLists.txt index e5d5b34d8b..a7b4886c08 100644 --- a/cvpcb/CMakeLists.txt +++ b/cvpcb/CMakeLists.txt @@ -75,6 +75,5 @@ add_executable(cvpcb WIN32 MACOSX_BUNDLE ${CVPCB_SRCS} ${CVPCB_EXTRA_SRCS} ${CVP target_link_libraries(cvpcb 3d-viewer common polygon bitmaps kbool ${OPENGL_LIBRARIES} ${wxWidgets_LIBRARIES}) install(TARGETS cvpcb - RUNTIME DESTINATION ${KICAD_BIN} - BUNDLE DESTINATION ${KICAD_BIN} + DESTINATION ${KICAD_BIN} COMPONENT binary) diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index fdcab20eb7..192fe154d7 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -126,8 +126,7 @@ add_executable(eeschema WIN32 MACOSX_BUNDLE ${EESCHEMA_SRCS} ${EESCHEMA_EXTRA_SR target_link_libraries(eeschema common bitmaps ${wxWidgets_LIBRARIES}) install(TARGETS eeschema - RUNTIME DESTINATION ${KICAD_BIN} - BUNDLE DESTINATION ${KICAD_BIN} + DESTINATION ${KICAD_BIN} COMPONENT binary) add_subdirectory(plugins) diff --git a/eeschema/plugins/CMakeLists.txt b/eeschema/plugins/CMakeLists.txt index e60f76eb20..a59db13689 100644 --- a/eeschema/plugins/CMakeLists.txt +++ b/eeschema/plugins/CMakeLists.txt @@ -5,5 +5,5 @@ endif(UNIX) add_executable(netlist_form_pads-pcb netlist_form_pads-pcb.cpp) install(TARGETS netlist_form_pads-pcb - RUNTIME DESTINATION ${KICAD_PLUGINS} + DESTINATION ${KICAD_PLUGINS} COMPONENT binary) diff --git a/gerbview/CMakeLists.txt b/gerbview/CMakeLists.txt index 5ea99dc7dd..51a0abe4f5 100644 --- a/gerbview/CMakeLists.txt +++ b/gerbview/CMakeLists.txt @@ -81,6 +81,5 @@ add_executable(gerbview WIN32 MACOSX_BUNDLE ${GERBVIEW_SRCS} ${GERBVIEW_EXTRA_SR target_link_libraries(gerbview 3d-viewer common polygon bitmaps kbool ${wxWidgets_LIBRARIES}) install(TARGETS gerbview - RUNTIME DESTINATION ${KICAD_BIN} - BUNDLE DESTINATION ${KICAD_BIN} + DESTINATION ${KICAD_BIN} COMPONENT binary) diff --git a/kicad/CMakeLists.txt b/kicad/CMakeLists.txt index 8f245f9c82..cd1359ea62 100644 --- a/kicad/CMakeLists.txt +++ b/kicad/CMakeLists.txt @@ -34,8 +34,7 @@ add_executable(kicad WIN32 MACOSX_BUNDLE ${KICAD_SRCS} ${KICAD_EXTRA_SRCS} ${KIC target_link_libraries(kicad common bitmaps ${wxWidgets_LIBRARIES}) install(TARGETS kicad - RUNTIME DESTINATION ${KICAD_BIN} - BUNDLE DESTINATION ${KICAD_BIN} + DESTINATION ${KICAD_BIN} COMPONENT binary) if(KICAD_MINIZIP) diff --git a/kicad/minizip/CMakeLists.txt b/kicad/minizip/CMakeLists.txt index 9c0e47db78..7251ff82fc 100644 --- a/kicad/minizip/CMakeLists.txt +++ b/kicad/minizip/CMakeLists.txt @@ -25,5 +25,5 @@ add_executable(minizip ${MINIZIP_SRCS}) target_link_libraries(minizip ${ZLIB_LIBRARIES}) install(TARGETS minizip - RUNTIME DESTINATION ${KICAD_BIN} + DESTINATION ${KICAD_BIN} COMPONENT binary) diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index ecd9dcba25..75189e6885 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -171,8 +171,7 @@ add_executable(pcbnew WIN32 MACOSX_BUNDLE ${PCBNEW_SRCS} ${PCBNEW_EXTRA_SRCS} ${ target_link_libraries(pcbnew 3d-viewer common polygon bitmaps kbool ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES}) install(TARGETS pcbnew - RUNTIME DESTINATION ${KICAD_BIN} - BUNDLE DESTINATION ${KICAD_BIN} + DESTINATION ${KICAD_BIN} COMPONENT binary)