Drop redundant -D
This commit is contained in:
parent
2c5b708685
commit
2ebad4e735
|
@ -15,7 +15,7 @@ target_include_directories(usermod_pico_display INTERFACE
|
|||
)
|
||||
|
||||
target_compile_definitions(usermod_pico_display INTERFACE
|
||||
-DMODULE_PICODISPLAY_ENABLED=1
|
||||
MODULE_PICODISPLAY_ENABLED=1
|
||||
)
|
||||
|
||||
target_link_libraries(usermod INTERFACE usermod_pico_display)
|
||||
|
@ -24,4 +24,4 @@ set_source_files_properties(
|
|||
${CMAKE_CURRENT_LIST_DIR}/pico_display.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"-Wno-discarded-qualifiers -Wno-implicit-int"
|
||||
)
|
||||
)
|
||||
|
|
|
@ -15,7 +15,7 @@ target_include_directories(usermod_pico_explorer INTERFACE
|
|||
)
|
||||
|
||||
target_compile_definitions(usermod_pico_explorer INTERFACE
|
||||
-DMODULE_PICOEXPLORER_ENABLED=1
|
||||
MODULE_PICOEXPLORER_ENABLED=1
|
||||
)
|
||||
|
||||
target_link_libraries(usermod INTERFACE usermod_pico_explorer)
|
||||
|
@ -24,4 +24,4 @@ set_source_files_properties(
|
|||
${CMAKE_CURRENT_LIST_DIR}/pico_explorer.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"-Wno-discarded-qualifiers -Wno-implicit-int"
|
||||
)
|
||||
)
|
||||
|
|
|
@ -11,7 +11,7 @@ target_include_directories(usermod_pico_rgb_keypad INTERFACE
|
|||
)
|
||||
|
||||
target_compile_definitions(usermod_pico_rgb_keypad INTERFACE
|
||||
-DMODULE_PICOKEYPAD_ENABLED=1
|
||||
MODULE_PICOKEYPAD_ENABLED=1
|
||||
)
|
||||
|
||||
target_link_libraries(usermod INTERFACE usermod_pico_rgb_keypad)
|
||||
|
@ -20,4 +20,4 @@ set_source_files_properties(
|
|||
${CMAKE_CURRENT_LIST_DIR}/pico_rgb_keypad.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"-Wno-discarded-qualifiers -Wno-implicit-int"
|
||||
)
|
||||
)
|
||||
|
|
|
@ -11,7 +11,7 @@ target_include_directories(usermod_pico_scroll INTERFACE
|
|||
)
|
||||
|
||||
target_compile_definitions(usermod_pico_scroll INTERFACE
|
||||
-DMODULE_PICOSCROLL_ENABLED=1
|
||||
MODULE_PICOSCROLL_ENABLED=1
|
||||
)
|
||||
|
||||
target_link_libraries(usermod INTERFACE usermod_pico_scroll)
|
||||
|
@ -20,4 +20,4 @@ set_source_files_properties(
|
|||
${CMAKE_CURRENT_LIST_DIR}/pico_scroll.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"-Wno-discarded-qualifiers -Wno-implicit-int"
|
||||
)
|
||||
)
|
||||
|
|
|
@ -13,7 +13,7 @@ target_include_directories(usermod_pico_unicorn INTERFACE
|
|||
)
|
||||
|
||||
target_compile_definitions(usermod_pico_unicorn INTERFACE
|
||||
-DMODULE_PICOUNICORN_ENABLED=1
|
||||
MODULE_PICOUNICORN_ENABLED=1
|
||||
)
|
||||
|
||||
target_link_libraries(usermod INTERFACE usermod_pico_unicorn)
|
||||
|
@ -22,4 +22,4 @@ set_source_files_properties(
|
|||
${CMAKE_CURRENT_LIST_DIR}/pico_unicorn.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"-Wno-discarded-qualifiers -Wno-implicit-int"
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue