FindSpinnaker.cmake 422 B

1234567891011121314151617181920
  1. unset(Spinnaker_FOUND)
  2. unset(Spinnaker_INCLUDE_DIRS)
  3. unset(Spinnaker_LIBRARIES)
  4. find_path(Spinnaker_INCLUDE_DIRS NAMES
  5. Spinnaker.h
  6. PATHS
  7. /usr/include/spinnaker/
  8. /usr/local/include/spinnaker/
  9. )
  10. find_library(Spinnaker_LIBRARIES NAMES Spinnaker
  11. PATHS
  12. /usr/lib
  13. /usr/local/lib
  14. )
  15. if (Spinnaker_INCLUDE_DIRS AND Spinnaker_LIBRARIES)
  16. set(Spinnaker_FOUND 1)
  17. endif (Spinnaker_INCLUDE_DIRS AND Spinnaker_LIBRARIES)