summaryrefslogtreecommitdiffstatshomepage
path: root/examples/usercmodule/cppexample/micropython.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'examples/usercmodule/cppexample/micropython.cmake')
-rw-r--r--examples/usercmodule/cppexample/micropython.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/usercmodule/cppexample/micropython.cmake b/examples/usercmodule/cppexample/micropython.cmake
index 43e8d887f5..6da972c94e 100644
--- a/examples/usercmodule/cppexample/micropython.cmake
+++ b/examples/usercmodule/cppexample/micropython.cmake
@@ -12,11 +12,5 @@ target_include_directories(usermod_cppexample INTERFACE
${CMAKE_CURRENT_LIST_DIR}
)
-# Enable the module automatically by adding the relevant compile definitions.
-target_compile_definitions(usermod_cppexample INTERFACE
- MODULE_CPPEXAMPLE_ENABLED=1
-)
-
# Link our INTERFACE library to the usermod target.
target_link_libraries(usermod INTERFACE usermod_cppexample)
-