File: UseLIBMINC.cmake.in

package info (click to toggle)
libminc 2.4.03-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,268 kB
  • sloc: ansic: 57,089; cpp: 3,654; sh: 100; makefile: 21; ruby: 18
file content (16 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
INCLUDE_DIRECTORIES(${LIBMINC_INCLUDE_DIRS})

IF(HAVE_MINC1)
  ADD_DEFINITIONS( -DHAVE_MINC1=1)

  INCLUDE_DIRECTORIES(${NETCDF_INCLUDE_DIR})
ENDIF(HAVE_MINC1)

IF(HAVE_MINC2)
  SET(MINC2 "1")
  ADD_DEFINITIONS( -DMINC2=1 -DHAVE_MINC2=1)

  INCLUDE_DIRECTORIES(${HDF5_INCLUDE_DIR})
ENDIF(HAVE_MINC2)

LINK_DIRECTORIES(${LIBMINC_LIBRARY_DIRS})