Hello,<br><br>I have tried several ways to link an Api library to my project, but everything I've done so far is unsuccessful.<br><br>I have a .lib file named AdbWinApi.lib in the address ${myProject_SOURCE_DIR}/android/development/windows/usb/api<br>
<br>I am trying to link this library to myProject, first I used the following:<br><br>find_library(AdbWin_LIBRARY<br> AdbWinApi.lib<br> ${myProject_SOURCE_DIR}/android/development/windows/usb/api<br> )<br><br>
then I used a simple way to assert it was found:<br><br>if (${AdbWin_LIBRARY}) <br> message (STATUS "AdbWin library found")<br> target_link_library (myproj ${AdbWin_LIBRARY})<br>endif ()<br><br>but always it is unsuccessful.<br>
<br>Even though it looks pretty straight forward, I have not been able to link it.<br><br>Can you help me please?<br><br>Thanks<br><br>BR<br><br>Enrique<br>