Commit e8d49d92 authored by Christine Kim's avatar Christine Kim
Browse files

Add cspice cmake file

parent bd75d910
Loading
Loading
Loading
Loading

cmake/FindCSPICE.cmake

0 → 100644
+18 −0
Original line number Diff line number Diff line
# CMake module for find_package(CSPICE)
# Finds include directory and all applicable libraries
#
# Sets the following:
#   CSPICE_INCLUDE_DIR
#   CSPICE_LIBRARY

find_path(CSPICE_INCLUDE_DIR
  NAME SpiceUsr.h
  PATH_SUFFIXES naif cspice
)

find_library(CSPICE_LIBRARY
  NAMES cspice
)

message(STATUS "CSPICE INCLUDE: " ${CSPICE_INCLUDE_DIR} )
message(STATUS "CSPICE LIB: "  ${CSPICE_LIBRARY} )
 No newline at end of file