Skip to content

Commit

Permalink
prepare release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Dec 17, 2020
1 parent 1b06527 commit 6fefebd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
cmake_minimum_required(VERSION 3.0)

# set the project name
project(openFPGALoader VERSION 0.1 LANGUAGES CXX)
project(openFPGALoader VERSION "0.2.1" LANGUAGES CXX)
add_definitions(-DVERSION=\"v${PROJECT_VERSION}\")

option(BUILD_STATIC "Whether or not to build with static libraries" OFF)
option(ENABLE_UDEV "use udev to search JTAG adapter from /dev/xx" ON)
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, jtag_pins_conf_t *p
}

if (result.count("Version")) {
cout << "openFPGALoader v0.1" << endl;
cout << "openFPGALoader " << VERSION << endl;
return 1;
}

Expand Down

0 comments on commit 6fefebd

Please sign in to comment.