Aligned cmake version requirements to KiCad sources & fixed install path (thanks Nickoe)

This commit is contained in:
Marco Ciampa 2015-09-18 20:27:16 +02:00
parent b6c9a2a5f5
commit ec99736b92
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required( VERSION 3.0 )
cmake_minimum_required( VERSION 2.8.4 FATAL_ERROR )
project( kicad-i18n NONE )
@ -13,7 +13,7 @@ foreach( LANG ${LANG_ARRAY} )
-o ${CMAKE_BINARY_DIR}/${LANG}/kicad.mo )
install( FILES ${CMAKE_BINARY_DIR}/${LANG}/kicad.mo
DESTINATION share/kicad/internat
DESTINATION share/kicad/internat/${LANG}
COMPONENT resources )
endforeach()