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.
This commit is contained in:
Jean-Samuel Reynaud 2021-09-20 11:52:31 +02:00
parent 8848f7158d
commit aa85bb27fa
No known key found for this signature in database
GPG Key ID: 92143F90B15AC525
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ if( APPLE )
else()
install( TARGETS kicad2step_bin kicad2step_lib
RUNTIME DESTINATION ${KICAD_BIN}
ARCHIVE DESTINATION ${KICAD_LIB}
COMPONENT binary )
endif()