Welcome,
Guest
|
|
I am very new to CMake and I am at a bit of a loss.
I need the indiclient lib in my project but if I try find_package(indiclient REQUIRED) CMake cannot find it but I just include indiclient in my target_link_libraries line it works fine but I'm thinking that is not the correct way to do that. Can anyone shed any light in the subject for me? Thanks, Eric |
Please Log in or Create an account to join the conversation. |
|
Can you post your CMakeLists.txt and or errors you're getting while compiling please?
|
Please Log in or Create an account to join the conversation.
Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade) HEQ5 pro / Atik titan / Atik 314L+ |
Use FindINDI.cmake from here:
github.com/KDE/kstars/blob/master/cmake/modules/FindINDI.cmake
It should define INDI_CLIENT_LIBRARIES which you can link to. |
|
Please Log in or Create an account to join the conversation.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget. How to Submit Logs when you have problems? Add your observatory info |
|
That worked great, thanks. |
Please Log in or Create an account to join the conversation. |