File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11PROJECT (bcu)
2- cmake_minimum_required (VERSION 3.4 )
2+ cmake_minimum_required (VERSION 3.5 )
33set (CMAKE_CXX_STANDARD 11)
44set (CMAKE_CXX_STANDARD_REQUIRED ON )
55#set(CMAKE_BUILD_TYPE Debug)
@@ -25,7 +25,7 @@ message("operation system is ${CMAKE_SYSTEM}")
2525if (LINUX)
2626 add_executable (bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c)
2727 link_directories (${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS} )
28- target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR} /libcurl/build .bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm)
28+ target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR} /libcurl/build .bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm -ldl )
2929 execute_process ( COMMAND ${PROJECT_SOURCE_DIR} /create_version_h.sh ${PROJECT_SOURCE_DIR}
3030 COMMAND ${PROJECT_SOURCE_DIR} /build_libs.sh ${PROJECT_SOURCE_DIR} )
3131 install (TARGETS bcu DESTINATION bin)
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ license: BSD-3-Clause
3232adopt-info : main
3333assumes :
3434 - command-chain
35- base : core18
35+ base : core20
3636confinement : strict
3737grade : stable
3838
6969 - libftdi1-dev
7070 - libyaml-0-2
7171 - libusb-1.0-0
72- - libssl1.0.0
72+ - libssl-dev
7373 - openssl
7474 override-stage : |
7575 set -xe
You can’t perform that action at this time.
0 commit comments