summaryrefslogtreecommitdiff
path: root/examples/device/board_test
diff options
context:
space:
mode:
authorgraham sanderson <[email protected]>2021-06-10 10:11:20 -0500
committergraham sanderson <[email protected]>2021-06-10 10:11:20 -0500
commitfd7b18a4f6417c214b2b8880b3a640c39f587019 (patch)
treefadca701c5a96447ddd4a783c40b6f7c4c270c68 /examples/device/board_test
parentb34724215bea28ef93fd80ed9c2e4ddc87874093 (diff)
Make examples standalone buildable via CMake
Diffstat (limited to 'examples/device/board_test')
-rw-r--r--examples/device/board_test/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/device/board_test/CMakeLists.txt b/examples/device/board_test/CMakeLists.txt
index 8cd5b9ea4..37113578e 100644
--- a/examples/device/board_test/CMakeLists.txt
+++ b/examples/device/board_test/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)
-include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/${FAMILY}/family.cmake)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)
# Check for -DFAMILY=
if(FAMILY MATCHES "^esp32s[2-3]")
@@ -12,7 +12,6 @@ if(FAMILY MATCHES "^esp32s[2-3]")
set(TOP "../../..")
get_filename_component(TOP "${TOP}" REALPATH)
- include(${TOP}/hw/bsp/${FAMILY}/family.cmake)
project(${PROJECT})
else()