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.
This commit is contained in:
Reinhold Gschweicher 2023-11-16 20:08:07 +01:00 committed by NeroBurner
parent 69b9d30a30
commit a544da9ed1

View file

@ -33,7 +33,7 @@ if(BUILD_RESOURCES)
endif() endif()
set(TARGET_DEVICE "PINETIME" CACHE STRING "Target device") 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 "") set(PROJECT_GIT_COMMIT_HASH "")