mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 19:16:56 +02:00
tweak headers in cmake find modules
This commit is contained in:
parent
7ce91b3f96
commit
ff9fd2d8e9
9 changed files with 60 additions and 22 deletions
|
@ -8,6 +8,4 @@ macro(AUTO_MTC TARGET ROOT_DIR)
|
||||||
file(GLOB INCLUDE_FILES src/*.h)
|
file(GLOB INCLUDE_FILES src/*.h)
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${AUTOMTC_SRC} COMMAND mtc -o ${AUTOMTC_SRC} ${INCLUDE_FILES} DEPENDS mtc ${INCLUDE_FILES})
|
add_custom_command(OUTPUT ${AUTOMTC_SRC} COMMAND mtc -o ${AUTOMTC_SRC} ${INCLUDE_FILES} DEPENDS mtc ${INCLUDE_FILES})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#
|
||||||
|
# FindFaceshift.cmake
|
||||||
|
#
|
||||||
# Try to find the Faceshift networking library
|
# Try to find the Faceshift networking library
|
||||||
#
|
#
|
||||||
# You must provide a FACESHIFT_ROOT_DIR which contains lib and include directories
|
# You must provide a FACESHIFT_ROOT_DIR which contains lib and include directories
|
||||||
|
@ -11,6 +14,9 @@
|
||||||
# Created on 8/30/2013 by Andrzej Kapolka
|
# Created on 8/30/2013 by Andrzej Kapolka
|
||||||
# Copyright (c) 2013 High Fidelity
|
# Copyright (c) 2013 High Fidelity
|
||||||
#
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (FACESHIFT_LIBRARIES AND FACESHIFT_INCLUDE_DIRS)
|
if (FACESHIFT_LIBRARIES AND FACESHIFT_INCLUDE_DIRS)
|
||||||
# in cache already
|
# in cache already
|
||||||
|
|
|
@ -1,16 +1,21 @@
|
||||||
#
|
#
|
||||||
# Try to find GLEW library and include path.
|
# FindGLEW.cmake
|
||||||
# Once done this will define
|
#
|
||||||
#
|
# Try to find GLEW library and include path.
|
||||||
# GLEW_FOUND
|
# Once done this will define
|
||||||
# GLEW_INCLUDE_DIRS
|
#
|
||||||
# GLEW_LIBRARY
|
# GLEW_FOUND
|
||||||
|
# GLEW_INCLUDE_DIRS
|
||||||
|
# GLEW_LIBRARY
|
||||||
#
|
#
|
||||||
|
|
||||||
# Created on 2/6/2014 by Stephen Birarda
|
# Created on 2/6/2014 by Stephen Birarda
|
||||||
#
|
#
|
||||||
# Adapted from FindGLEW.cmake available in the nvidia-texture-tools repository
|
# Adapted from FindGLEW.cmake available in the nvidia-texture-tools repository
|
||||||
# (https://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindGLEW.cmake?r=96)
|
# (https://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindGLEW.cmake?r=96)
|
||||||
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (GLEW_INCLUDE_DIRS AND GLEW_LIBRARY)
|
if (GLEW_INCLUDE_DIRS AND GLEW_LIBRARY)
|
||||||
set(GLEW_FOUND TRUE)
|
set(GLEW_FOUND TRUE)
|
||||||
|
|
|
@ -1,15 +1,22 @@
|
||||||
# Try to find GLUT library and include path.
|
#
|
||||||
# Once done this will define
|
# FindGLUT.cmake
|
||||||
|
#
|
||||||
|
# Try to find GLUT library and include path.
|
||||||
|
# Once done this will define
|
||||||
#
|
#
|
||||||
# GLUT_FOUND
|
# GLUT_FOUND
|
||||||
# GLUT_INCLUDE_DIR
|
# GLUT_INCLUDE_DIR
|
||||||
# GLUT_LIBRARIES
|
# GLUT_LIBRARIES
|
||||||
# GLUT_DLL_PATH - Optionally defined for Win32, if not in path
|
# GLUT_DLL_PATH - Optionally defined for Win32, if not in path
|
||||||
#
|
#
|
||||||
# Created on 2/6/2014 by Stephen Birarda
|
# Created on 2/6/2014 by Stephen Birarda
|
||||||
#
|
#
|
||||||
# Adapted from FindGLUT.cmake available in tlorach's OpenGLText Repository
|
# Adapted from FindGLUT.cmake available in tlorach's OpenGLText Repository
|
||||||
# https://raw.github.com/tlorach/OpenGLText/master/cmake/FindGLUT.cmake
|
# https://raw.github.com/tlorach/OpenGLText/master/cmake/FindGLUT.cmake
|
||||||
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARIES)
|
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARIES)
|
||||||
set(GLUT_FOUND TRUE)
|
set(GLUT_FOUND TRUE)
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
# - Try to find the LibOVR library to use the Oculus
|
#
|
||||||
|
# FindLibOVR.cmake
|
||||||
|
#
|
||||||
|
# Try to find the LibOVR library to use the Oculus
|
||||||
#
|
#
|
||||||
# You must provide a LIBOVR_ROOT_DIR which contains Lib and Include directories
|
# You must provide a LIBOVR_ROOT_DIR which contains Lib and Include directories
|
||||||
#
|
#
|
||||||
|
@ -11,6 +14,9 @@
|
||||||
# Created on 5/9/2013 by Stephen Birarda
|
# Created on 5/9/2013 by Stephen Birarda
|
||||||
# Copyright (c) 2013 High Fidelity
|
# Copyright (c) 2013 High Fidelity
|
||||||
#
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (LIBOVR_LIBRARIES AND LIBOVR_INCLUDE_DIRS)
|
if (LIBOVR_LIBRARIES AND LIBOVR_INCLUDE_DIRS)
|
||||||
# in cache already
|
# in cache already
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function(QT5_CREATE_TRANSLATION_CUSTOM _qm_files)
|
function(QT5_CREATE_TRANSLATION_CUSTOM _qm_files)
|
||||||
set(options)
|
set(options)
|
||||||
set(oneValueArgs)
|
set(oneValueArgs)
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#
|
||||||
|
# FindQxmpp.cmake
|
||||||
|
#
|
||||||
# Try to find the qxmpp library
|
# Try to find the qxmpp library
|
||||||
#
|
#
|
||||||
# You can provide a QXMPP_ROOT_DIR which contains lib and include directories
|
# You can provide a QXMPP_ROOT_DIR which contains lib and include directories
|
||||||
|
@ -11,6 +14,9 @@
|
||||||
# Created on 3/10/2014 by Stephen Birarda
|
# Created on 3/10/2014 by Stephen Birarda
|
||||||
# Copyright (c) 2014 High Fidelity
|
# Copyright (c) 2014 High Fidelity
|
||||||
#
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (QXMPP_LIBRARIES AND QXMPP_INCLUDE_DIRS)
|
if (QXMPP_LIBRARIES AND QXMPP_INCLUDE_DIRS)
|
||||||
# in cache already
|
# in cache already
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#
|
||||||
|
# FindSixense.cmake
|
||||||
|
#
|
||||||
# Try to find the Sixense controller library
|
# Try to find the Sixense controller library
|
||||||
#
|
#
|
||||||
# You must provide a SIXENSE_ROOT_DIR which contains lib and include directories
|
# You must provide a SIXENSE_ROOT_DIR which contains lib and include directories
|
||||||
|
@ -11,6 +14,9 @@
|
||||||
# Created on 11/15/2013 by Andrzej Kapolka
|
# Created on 11/15/2013 by Andrzej Kapolka
|
||||||
# Copyright (c) 2013 High Fidelity
|
# Copyright (c) 2013 High Fidelity
|
||||||
#
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (SIXENSE_LIBRARIES AND SIXENSE_INCLUDE_DIRS)
|
if (SIXENSE_LIBRARIES AND SIXENSE_INCLUDE_DIRS)
|
||||||
# in cache already
|
# in cache already
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#
|
||||||
|
# FindVisage.cmake
|
||||||
|
#
|
||||||
# Try to find the Visage controller library
|
# Try to find the Visage controller library
|
||||||
#
|
#
|
||||||
# You must provide a VISAGE_ROOT_DIR which contains lib and include directories
|
# You must provide a VISAGE_ROOT_DIR which contains lib and include directories
|
||||||
|
@ -11,6 +14,9 @@
|
||||||
# Created on 2/11/2014 by Andrzej Kapolka
|
# Created on 2/11/2014 by Andrzej Kapolka
|
||||||
# Copyright (c) 2014 High Fidelity
|
# Copyright (c) 2014 High Fidelity
|
||||||
#
|
#
|
||||||
|
# Distributed under the Apache License, Version 2.0.
|
||||||
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
#
|
||||||
|
|
||||||
if (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
|
if (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
|
||||||
# in cache already
|
# in cache already
|
||||||
|
|
Loading…
Reference in a new issue