summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-27 17:11:24 +0700
committerhathach <[email protected]>2022-06-27 17:11:24 +0700
commita0ef4898906a5985deae11e5539a942885398ca1 (patch)
treeccd2e31d599d4bb341c7b840e25a4bf8536fdda3 /examples/host/hid_controller
parent6522a8150e22d47bacabd2f1f027452db2254984 (diff)
fix all warnings with host rp2040
Diffstat (limited to 'examples/host/hid_controller')
-rw-r--r--examples/host/hid_controller/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/host/hid_controller/CMakeLists.txt b/examples/host/hid_controller/CMakeLists.txt
index 6153d399a..eefeb4a49 100644
--- a/examples/host/hid_controller/CMakeLists.txt
+++ b/examples/host/hid_controller/CMakeLists.txt
@@ -23,6 +23,9 @@ target_include_directories(${PROJECT} PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/src
)
+# Example common such as compiler warnings
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../example.cmake)
+
# Configure compilation flags and libraries for the example... see the corresponding function
# in hw/bsp/FAMILY/family.cmake for details.
family_configure_host_example(${PROJECT})