Skip to content

Commit 06731cc

Browse files
committed
Clean up ArduinoLibraryCMakeLists.txt.in
- align required CMake version with main project - do not set a project version - generate a log message
1 parent 012c998 commit 06731cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

toolchain/Templates/ArduinoLibraryCMakeLists.txt.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
cmake_minimum_required(VERSION ${CMAKE_VERSION})
2-
project(${_libname} VERSION 0.1 LANGUAGES ASM C CXX)
1+
cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION})
2+
project(${_libname} LANGUAGES ASM C CXX)
3+
4+
message(STATUS "Configuring ${_libname} for ${ARDUINO_BOARD}")
35

46
add_library(
57
${_libname} STATIC

0 commit comments

Comments
 (0)