File: FindAsio.cmake

package info (click to toggle)
openscenegraph-3.4 3.4.1%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,912 kB
  • sloc: cpp: 392,492; ansic: 23,625; java: 1,020; yacc: 548; makefile: 449; objc: 288; xml: 155; lex: 151
file content (22 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Locate ASIO-headers (http://think-async.com/Asio)
# This module defines
# ASIO_FOUND, if false, do not try to link to gdal
# ASIO_INCLUDE_DIR, where to find the headers
#
# Created by Stephan Maximilian Huber

FIND_PATH(ASIO_INCLUDE_DIR
  NAMES
    asio.hpp
  PATHS
    /usr/include
    /usr/local/include
)

SET(ASIO_FOUND "NO")
IF(ASIO_INCLUDE_DIR)
    FIND_PACKAGE( Boost 1.37 )
    IF(Boost_FOUND)
        SET(ASIO_FOUND "YES")
    ENDIF()
ENDIF()