linking with bluetooth library although compiled without linking it because not actually using any methods from the headers

This commit is contained in:
Arjun Patel
2024-01-14 10:10:40 -08:00
parent a5e51b0bc6
commit 3b591a3a36
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
project('bluetooth-beacon-receiver', 'cpp')
executable('bluetooth-beacon', 'src/beacon.cpp')
executable('bluetooth-receiver', 'src/receiver.cpp')
# add libbluetooth
target_link_libraries('bluetooth-beacon' 'bluetooth')