Fixed install path for OSX
This commit is contained in:
parent
1848a87844
commit
ad7302358b
|
@ -20,6 +20,13 @@ add_executable( kicad2step
|
||||||
|
|
||||||
target_link_libraries( kicad2step ${wxWidgets_LIBRARIES} ${LIBS_OCE} )
|
target_link_libraries( kicad2step ${wxWidgets_LIBRARIES} ${LIBS_OCE} )
|
||||||
|
|
||||||
|
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
|
install( TARGETS kicad2step
|
||||||
DESTINATION bin
|
DESTINATION ${KICAD_BIN}
|
||||||
COMPONENT binary )
|
COMPONENT binary )
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue