Fixed typo in cmake

This commit is contained in:
jLynx 2022-04-03 08:50:08 +12:00
parent 250553e4ba
commit a17eb47657

View File

@ -26,7 +26,7 @@ set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/firmware/toolchain-arm-cortex
project(portapack-h1)
set(VERSION "$ENV{VERSION_STRING}")
if ("$ENV{EnvironmentVariableName}" STREQUAL "")
if ("$ENV{VERSION_STRING}" STREQUAL "")
execute_process(
COMMAND git log -n 1 --format=%h
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}