CMake: Fix bug in install targets.

This commit is contained in:
f3nix 2008-09-14 11:46:58 +00:00
parent c65942e104
commit 4d7149b18c
7 changed files with 7 additions and 12 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)