You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-electronics/kicad/files/kicad-footprints-cmakelists...

17 lines
449 B

project( kicad-footprints )
cmake_minimum_required( VERSION 2.6.1 FATAL_ERROR )
file(GLOB footprint_dirs "*.pretty")
# Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
set( KICAD_DATA share/kicad
CACHE PATH "Location of KiCad data files." )
set( KICAD_MODULES ${KICAD_DATA}/modules )
mark_as_advanced( KICAD_DATA KICAD_MODULES )
install(DIRECTORY ${footprint_dirs}
DESTINATION ${KICAD_MODULES}
COMPONENT resources)