From ec99736b92afb3b7eb093705599ff33ca65d4d68 Mon Sep 17 00:00:00 2001 From: Marco Ciampa Date: Fri, 18 Sep 2015 20:27:16 +0200 Subject: [PATCH] Aligned cmake version requirements to KiCad sources & fixed install path (thanks Nickoe) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5f0eed746..275512324e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()