Skip to content

Commit

Permalink
CMake: add minimal required version
Browse files Browse the repository at this point in the history
Without this statement CMake throws a developers warning. Version 2.6
is ancient enough to be available on many systems.
  • Loading branch information
yegorich committed Oct 28, 2019
1 parent aed2a6e commit 335b24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
project (linux-serial-test)
cmake_minimum_required(VERSION 2.6)
add_executable(linux-serial-test linux-serial-test.c)
target_link_libraries(linux-serial-test rt)
install(TARGETS linux-serial-test DESTINATION bin)
Expand Down

0 comments on commit 335b24a

Please sign in to comment.