File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ target_compile_options(arduino_emulator PRIVATE -Wno-nonportable-include-path)
5757
5858if (USE_RPI)
5959 target_compile_options (arduino_emulator PUBLIC -DUSE_RPI )
60- link_libraries (gpiod )
6160endif (USE_RPI )
6261
6362if (USE_HTTPS)
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ set_source_files_properties(hallo-world.ino PROPERTIES LANGUAGE CXX)
88add_executable (hallo-world hallo-world.ino )
99target_compile_options (hallo-world PRIVATE -x c++ )
1010target_link_libraries (hallo-world arduino_emulator )
11+
12+ if (USE_RPI)
13+ target_link_libraries (hallo-world gpiod )
14+ endif (USE_RPI )
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ set_source_files_properties(blink.ino PROPERTIES LANGUAGE CXX)
88add_executable (blink blink.ino )
99target_compile_options (blink PRIVATE -x c++ )
1010target_compile_definitions (blink PUBLIC -DUSE_RPI )
11- target_link_libraries (blink arduino_emulator )
11+ target_link_libraries (blink arduino_emulator gpiod )
You can’t perform that action at this time.
0 commit comments