mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 18:06:57 +02:00
24 lines
No EOL
729 B
CMake
24 lines
No EOL
729 B
CMake
#
|
|
# Try to find OGLPLUS include path.
|
|
# Once done this will define
|
|
#
|
|
# OGLPLUS_INCLUDE_DIRS
|
|
#
|
|
# Created by Bradley Austin Davis on 2015/05/22
|
|
# Copyright 2015 High Fidelity, Inc.
|
|
#
|
|
# Distributed under the Apache License, Version 2.0.
|
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
#
|
|
|
|
# setup hints for OGLPLUS search
|
|
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
|
hifi_library_search_hints("oglplus")
|
|
|
|
# locate header
|
|
find_path(OGLPLUS_INCLUDE_DIRS "oglplus/fwd.hpp" HINTS ${OGLPLUS_SEARCH_DIRS})
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(OGLPLUS DEFAULT_MSG OGLPLUS_INCLUDE_DIRS)
|
|
|
|
mark_as_advanced(OGLPLUS_INCLUDE_DIRS OGLPLUS_SEARCH_DIRS) |