Skip to content

Commit

Permalink
build: Use CMAKE_INSTALL_DATADIR
Browse files Browse the repository at this point in the history
  • Loading branch information
marv committed Nov 9, 2017
1 parent b6c3d4e commit f9516cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ if( NOT APPLE )
CACHE PATH "Location of KiCad user-loaded plugins" )
endif()

set( KICAD_DATA share/kicad
set( KICAD_DATA ${CMAKE_INSTALL_DATADIR}/kicad
CACHE PATH "Location of KiCad data files." )
set( KICAD_DOCS share/doc/kicad
set( KICAD_DOCS ${CMAKE_INSTALL_DATADIR}/doc/kicad
CACHE PATH "Location of KiCad documentation files." )
set( KICAD_DEMOS ${KICAD_DATA}/demos
CACHE PATH "Location of KiCad demo files." )
Expand Down

0 comments on commit f9516cb

Please sign in to comment.