Skip to content

Commit

Permalink
wrong entry in .gitignore caused .cmake files in cmake directory to b…
Browse files Browse the repository at this point in the history
…e ignored
  • Loading branch information
dkastl committed Mar 24, 2013
1 parent c433c02 commit 7020b99
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Files generated by cmake
CMakeFiles
Makefile
*.cmake
CMakeCache.txt
lib

Expand Down
21 changes: 21 additions & 0 deletions cmake/FindSphinx.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Find Sphinx
# Find Sphinx executable to build documentation
# Source: http://ericscottbarr.com/blog/2012/03/sphinx-and-cmake-beautiful-documentation-for-c-projects/
#
# Daniel Kastl 03/2013
#

find_program(SPHINX_EXECUTABLE NAMES sphinx-build
HINTS
$ENV{SPHINX_DIR}
PATH_SUFFIXES bin\r\n DOC "Sphinx documentation generator"
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Sphinx DEFAULT_MSG\r\n SPHINX_EXECUTABLE
)

mark_as_advanced(
SPHINX_EXECUTABLE
)

0 comments on commit 7020b99

Please sign in to comment.