Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

FindDCW.cmake 809 B

You have to be logged in to leave a comment. Sign In
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
32
33
34
35
36
37
  1. #
  2. # $Id$
  3. #
  4. # Locate DCW Digital Chart of the World for GMT
  5. #
  6. # This module accepts the following environment variables:
  7. #
  8. # DCW_ROOT - Specify the location of DCW
  9. #
  10. # This module defines the following CMake variables:
  11. #
  12. # DCW_FOUND - True if DCW is found
  13. # DCW_PATH - A variable pointing to the DCW path
  14. # get DCW path
  15. find_path (DCW_PATH dcw-gmt.nc
  16. HINTS ${DCW_ROOT} $ENV{DCW_ROOT}
  17. PATH_SUFFIXES
  18. gmt-dcw
  19. dcw-gmt
  20. share/gmt/dcw
  21. share/gmt-dcw
  22. share/dcw-gmt
  23. PATHS
  24. ${CMAKE_SOURCE_DIR}
  25. /sw # Fink
  26. /opt/local # DarwinPorts
  27. /opt/csw # Blastwave
  28. /opt
  29. /usr/local
  30. DOC "Digital Chart of the World"
  31. )
  32. include (FindPackageHandleStandardArgs)
  33. find_package_handle_standard_args (DCW DEFAULT_MSG DCW_PATH)
  34. # vim: textwidth=78 noexpandtab tabstop=2 softtabstop=2 shiftwidth=2
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...