We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc169dd commit 5eff172Copy full SHA for 5eff172
src/common/pico_usb_reset_interface/CMakeLists.txt
@@ -1,2 +1,6 @@
1
-pico_add_library(pico_usb_reset_interface NOFLAG)
+# don't use pico_add_library here as picotool includes it directly
2
+add_library(pico_usb_reset_interface_headers INTERFACE)
3
+add_library(pico_usb_reset_interface INTERFACE)
4
+target_link_libraries(pico_usb_reset_interface INTERFACE pico_usb_reset_interface_headers)
5
+
6
target_include_directories(pico_usb_reset_interface_headers INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
0 commit comments