Skip to content

Commit ff9fd2d

Browse files
committed
tweak headers in cmake find modules
1 parent 7ce91b3 commit ff9fd2d

9 files changed

+59
-21
lines changed

cmake/macros/AutoMTC.cmake

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ macro(AUTO_MTC TARGET ROOT_DIR)
88
file(GLOB INCLUDE_FILES src/*.h)
99

1010
add_custom_command(OUTPUT ${AUTOMTC_SRC} COMMAND mtc -o ${AUTOMTC_SRC} ${INCLUDE_FILES} DEPENDS mtc ${INCLUDE_FILES})
11-
endmacro()
12-
13-
11+
endmacro()

cmake/modules/FindFaceshift.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#
2+
# FindFaceshift.cmake
3+
#
14
# Try to find the Faceshift networking library
25
#
36
# You must provide a FACESHIFT_ROOT_DIR which contains lib and include directories
@@ -11,6 +14,9 @@
1114
# Created on 8/30/2013 by Andrzej Kapolka
1215
# Copyright (c) 2013 High Fidelity
1316
#
17+
# Distributed under the Apache License, Version 2.0.
18+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
19+
#
1420

1521
if (FACESHIFT_LIBRARIES AND FACESHIFT_INCLUDE_DIRS)
1622
# in cache already

cmake/modules/FindGLEW.cmake

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
#
2-
# Try to find GLEW library and include path.
3-
# Once done this will define
2+
# FindGLEW.cmake
3+
#
4+
# Try to find GLEW library and include path.
5+
# Once done this will define
46
#
5-
# GLEW_FOUND
6-
# GLEW_INCLUDE_DIRS
7-
# GLEW_LIBRARY
7+
# GLEW_FOUND
8+
# GLEW_INCLUDE_DIRS
9+
# GLEW_LIBRARY
810
#
9-
1011
# Created on 2/6/2014 by Stephen Birarda
1112
#
12-
# Adapted from FindGLEW.cmake available in the nvidia-texture-tools repository
13+
# Adapted from FindGLEW.cmake available in the nvidia-texture-tools repository
1314
# (https://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindGLEW.cmake?r=96)
15+
#
16+
# Distributed under the Apache License, Version 2.0.
17+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
18+
#
1419

1520
if (GLEW_INCLUDE_DIRS AND GLEW_LIBRARY)
1621
set(GLEW_FOUND TRUE)

cmake/modules/FindGLUT.cmake

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
# Try to find GLUT library and include path.
2-
# Once done this will define
1+
#
2+
# FindGLUT.cmake
3+
#
4+
# Try to find GLUT library and include path.
5+
# Once done this will define
36
#
4-
# GLUT_FOUND
5-
# GLUT_INCLUDE_DIR
6-
# GLUT_LIBRARIES
7-
# GLUT_DLL_PATH - Optionally defined for Win32, if not in path
7+
# GLUT_FOUND
8+
# GLUT_INCLUDE_DIR
9+
# GLUT_LIBRARIES
10+
# GLUT_DLL_PATH - Optionally defined for Win32, if not in path
811
#
912
# Created on 2/6/2014 by Stephen Birarda
1013
#
11-
# Adapted from FindGLUT.cmake available in tlorach's OpenGLText Repository
12-
# https://raw.github.com/tlorach/OpenGLText/master/cmake/FindGLUT.cmake
14+
# Adapted from FindGLUT.cmake available in tlorach's OpenGLText Repository
15+
# https://raw.github.com/tlorach/OpenGLText/master/cmake/FindGLUT.cmake
16+
#
17+
# Distributed under the Apache License, Version 2.0.
18+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
19+
#
1320

1421
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARIES)
1522
set(GLUT_FOUND TRUE)

cmake/modules/FindLibOVR.cmake

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# - Try to find the LibOVR library to use the Oculus
1+
#
2+
# FindLibOVR.cmake
3+
#
4+
# Try to find the LibOVR library to use the Oculus
25
#
36
# You must provide a LIBOVR_ROOT_DIR which contains Lib and Include directories
47
#
@@ -11,6 +14,9 @@
1114
# Created on 5/9/2013 by Stephen Birarda
1215
# Copyright (c) 2013 High Fidelity
1316
#
17+
# Distributed under the Apache License, Version 2.0.
18+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
19+
#
1420

1521
if (LIBOVR_LIBRARIES AND LIBOVR_INCLUDE_DIRS)
1622
# in cache already

cmake/modules/FindQt5LinguistToolsMacros.cmake

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
#=============================================================================
3232

33-
34-
3533
function(QT5_CREATE_TRANSLATION_CUSTOM _qm_files)
3634
set(options)
3735
set(oneValueArgs)

cmake/modules/FindQxmpp.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#
2+
# FindQxmpp.cmake
3+
#
14
# Try to find the qxmpp library
25
#
36
# You can provide a QXMPP_ROOT_DIR which contains lib and include directories
@@ -11,6 +14,9 @@
1114
# Created on 3/10/2014 by Stephen Birarda
1215
# Copyright (c) 2014 High Fidelity
1316
#
17+
# Distributed under the Apache License, Version 2.0.
18+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
19+
#
1420

1521
if (QXMPP_LIBRARIES AND QXMPP_INCLUDE_DIRS)
1622
# in cache already

cmake/modules/FindSixense.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#
2+
# FindSixense.cmake
3+
#
14
# Try to find the Sixense controller library
25
#
36
# You must provide a SIXENSE_ROOT_DIR which contains lib and include directories
@@ -11,6 +14,9 @@
1114
# Created on 11/15/2013 by Andrzej Kapolka
1215
# Copyright (c) 2013 High Fidelity
1316
#
17+
# Distributed under the Apache License, Version 2.0.
18+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
19+
#
1420

1521
if (SIXENSE_LIBRARIES AND SIXENSE_INCLUDE_DIRS)
1622
# in cache already

cmake/modules/FindVisage.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#
2+
# FindVisage.cmake
3+
#
14
# Try to find the Visage controller library
25
#
36
# You must provide a VISAGE_ROOT_DIR which contains lib and include directories
@@ -11,6 +14,9 @@
1114
# Created on 2/11/2014 by Andrzej Kapolka
1215
# Copyright (c) 2014 High Fidelity
1316
#
17+
# Distributed under the Apache License, Version 2.0.
18+
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
19+
#
1420

1521
if (VISAGE_LIBRARIES AND VISAGE_INCLUDE_DIRS)
1622
# in cache already

0 commit comments

Comments
 (0)