Author: Reinhold Gschweicher <pyro4hell@gmail.com>
cmake: update the TARGET_DEVICE selection choices as well The properties are used for CMake-GUI configuration applications to provide a set of values by dropdown.
CMakeLists.txt | 2 +-
diff --git a/CMakeLists.txt b/CMakeLists.txt index 41989489bc2af35df78c52c1d61dede860d7c643..ae6b1c5eef3a6116ed0ee1ea95a269575c3549d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ set(BUILD_RESOURCES true) endif() set(TARGET_DEVICE "PINETIME" CACHE STRING "Target device") -set_property(CACHE TARGET_DEVICE PROPERTY STRINGS PINETIME MOY-TFK5 MOY-TIN5 MOY-TON5 MOY-UNK) +set_property(CACHE TARGET_DEVICE PROPERTY STRINGS PINETIME MOY_TFK5 MOY_TIN5 MOY_TON5 MOY_UNK) set(PROJECT_GIT_COMMIT_HASH "")