File: MathGLConfig.cmake.in

package info (click to toggle)
mathgl 8.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248,044 kB
  • sloc: cpp: 87,365; ansic: 3,299; javascript: 3,284; pascal: 1,562; python: 52; sh: 51; makefile: 47; f90: 22
file content (31 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# - Config file for the MathGL package
# It defines the following variables
 
set(MathGL2_INCLUDE_DIRS "@MathGL_INSTALL_INCLUDE_DIR@")
set(MathGL2_LIBRARIES_DIRS "@MathGL_INSTALL_LIB_DIR@")
set(MathGL2_HAVE_QT5 "@enable-qt5@")
set(MathGL2_HAVE_QT4 "@enable-qt4@")
set(MathGL2_HAVE_WX "@enable-wx@")
set(MathGL2_HAVE_FLTK "@enable-fltk@")
set(MathGL2_HAVE_GLUT "@enable-glut@")
set(MathGL2_HAVE_PTHREAD "@CMAKE_USE_PTHREADS_INIT@")
set(MathGL2_HAVE_OPENMP "@OPENMP_FOUND@")

include(CMakeFindDependencyMacro)
# Adding dependency for Threads imported target
if (MathGL2_HAVE_PTHREAD STRGREATER "")
  find_dependency(Threads)
endif()

# Adding dependency for OpenMP imported target
if (MathGL2_HAVE_OPENMP STRGREATER "")
  find_dependency(OpenMP)
endif()

# Compute paths
get_filename_component(MathGL2_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET mgl AND NOT MathGL_BINARY_DIR)
  include("${MathGL2_CMAKE_DIR}/MathGLTargets.cmake")
endif()