41f284b678
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15093 16af8721-9629-0410-8352-f15c8da7e697
23 lines
454 B
CMake
23 lines
454 B
CMake
# 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()
|