Teach CMake to tell Sphinx where fish_indent is

This commit is contained in:
ridiculousfish
2019-03-14 13:50:35 -07:00
parent 5b2c741f6c
commit 93cc99d6d0
2 changed files with 8 additions and 5 deletions

View File

@@ -133,9 +133,6 @@ ADD_DEFINITIONS(-D_REENTRANT)
# Set up PCRE2
INCLUDE(cmake/PCRE2.cmake)
# Set up the docs.
INCLUDE(cmake/Docs.cmake)
# Define a function to link dependencies.
FUNCTION(FISH_LINK_DEPS target)
TARGET_LINK_LIBRARIES(${target} fishlib)
@@ -162,6 +159,9 @@ ADD_EXECUTABLE(fish_key_reader
src/fish_key_reader.cpp src/print_help.cpp)
FISH_LINK_DEPS(fish_key_reader)
# Set up the docs.
INCLUDE(cmake/Docs.cmake)
# A helper for running tests.
ADD_EXECUTABLE(fish_test_helper src/fish_test_helper.cpp)