CMake: Automatically set UGFX_ROOT
This commit is contained in:
parent
33f6fa0eb0
commit
2ae3cf397d
@ -1,3 +1,6 @@
|
|||||||
|
# Define UGFX_ROOT
|
||||||
|
set(UGFX_ROOT ${CMAKE_CURRENT_LIST_DIR}/..)
|
||||||
|
|
||||||
# Ensure that CHIBIOS_ROOT is set
|
# Ensure that CHIBIOS_ROOT is set
|
||||||
if(NOT UGFX_ROOT)
|
if(NOT UGFX_ROOT)
|
||||||
message(FATAL_ERROR "No UGFX_ROOT specified")
|
message(FATAL_ERROR "No UGFX_ROOT specified")
|
||||||
|
Loading…
Reference in New Issue
Block a user