Browse Source

Fixed install path for OSX

pull/3/merge
Cirilo Bernardo 9 years ago
committed by Wayne Stambaugh
parent
commit
ad7302358b
  1. 13
      utils/kicad2step/CMakeLists.txt

13
utils/kicad2step/CMakeLists.txt

@ -20,6 +20,13 @@ add_executable( kicad2step
target_link_libraries( kicad2step ${wxWidgets_LIBRARIES} ${LIBS_OCE} )
install( TARGETS kicad2step
DESTINATION bin
COMPONENT binary )
if( APPLE )
# puts binaries into the *.app bundle while linking
set_target_properties( kicad2step PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
)
else()
install( TARGETS kicad2step
DESTINATION ${KICAD_BIN}
COMPONENT binary )
endif()
Loading…
Cancel
Save