6d7ca06e02
The following shell script was used: while read f do sed -Ei 's/[[:space:]]+$//g' "$f" done <<EOF $(svn ls -R | grep \ -e '.\cpp$' \ -e '\.cmake$' \ -e '\.txt$' \ -e '\.cppcheck$' \ -e '\.frag$' \ -e '\.h$' \ -e '\.hpp$' \ -e '\.vert$' \ -e '\.xml$' \ -e '\.java$' \ -e '\.c$') EOF As a side effect, this has also converted some files from CRLF line endings to LF. File extensions such as .ac or .osg were intentionally left out because those usually are very large files generated by tools. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9507 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 6c1e5ab34415982ec77fc92a77e1b1c149518eca Former-commit-id: c6cf9480ae7c1d2f9a999eb6c6b976eef8bae3ba
21 lines
616 B
CMake
21 lines
616 B
CMake
# Locate GLM math (header-only) library
|
|
# This module defines
|
|
# GLM_FOUND :
|
|
# GLM_INCLUDE_DIR : where to find the headers
|
|
# Created by Joe Thompson
|
|
|
|
find_path(GLM_INCLUDE_DIR glm/glm.hpp)
|
|
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set GLM_FOUND to TRUE if
|
|
# all listed variables are TRUE
|
|
include(FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLM DEFAULT_MSG GLM_INCLUDE_DIR)
|
|
|
|
#if(GLM_FOUND)
|
|
set(GLM_LIBRARIES ${GLM_LIBRARY})
|
|
#endif()
|
|
# Set the old GLM_INCLUDE_DIRS variable for backwards compatibility
|
|
set(GLM_INCLUDE_DIRS ${GLM_INCLUDE_DIR})
|
|
|
|
mark_as_advanced(GLM_LIBRARY GLM_INCLUDE_DIR)
|