Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Custom Driver CMakeLists.txt Question

Custom Driver CMakeLists.txt Question 4 months 2 weeks ago #17183

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.

Custom Driver CMakeLists.txt Question 4 months 2 weeks ago #17190

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+

Custom Driver CMakeLists.txt Question 4 months 2 weeks ago #17197

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?

Custom Driver CMakeLists.txt Question 4 months 2 weeks ago #17200

knro wrote: 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.


That worked great, thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.116 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica