blob: d024485befd07751ae46ed87c6a21bf707b63df4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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)
|