From aa85bb27fa2be7a90f406b171494f67575d15cd6 Mon Sep 17 00:00:00 2001 From: Jean-Samuel Reynaud Date: Mon, 20 Sep 2021 11:52:31 +0200 Subject: [PATCH] Fix configuration phase on Ubuntu 18.04 (bionic). Error messsage was: "CMake Error at utils/kicad2step/CMakeLists.txt:68 (install): install TARGETS given no ARCHIVE DESTINATION for static library target" Perhaps cmake version (3.10.2 on bionic) need that since on ubuntu focal (20.04) there is no error (cmake is 3.16.3 on focal). As I see cmake 3.14 add an autodetection mecanism to find the destinations. --- utils/kicad2step/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/kicad2step/CMakeLists.txt b/utils/kicad2step/CMakeLists.txt index f816ae4939..af6119f534 100644 --- a/utils/kicad2step/CMakeLists.txt +++ b/utils/kicad2step/CMakeLists.txt @@ -67,6 +67,7 @@ if( APPLE ) else() install( TARGETS kicad2step_bin kicad2step_lib RUNTIME DESTINATION ${KICAD_BIN} + ARCHIVE DESTINATION ${KICAD_LIB} COMPONENT binary ) endif()