Skip to content

Commit

Permalink
Fix installing from out of tree. Fix installing extra stuff from in t…
Browse files Browse the repository at this point in the history
…ree.
  • Loading branch information
swolchok committed Apr 29, 2016
1 parent f21ef42 commit 0a80392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ ADD_SUBDIRECTORY(python)

OPTION(test "Build tests." OFF)

INSTALL(DIRECTORY c ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/c DESTINATION include/graphqlparser
INSTALL(DIRECTORY c ${CMAKE_CURRENT_BINARY_DIR}/c DESTINATION include/graphqlparser
FILES_MATCHING PATTERN "*.h"
PATTERN "build" EXCLUDE)

INSTALL(FILES
Ast.h
${CMAKE_CURRENT_BINARY_DIR}/Ast.h
AstNode.h
AstVisitor.h
${CMAKE_CURRENT_BINARY_DIR}/AstVisitor.h
GraphQLParser.h
JsonVisitor.h
lexer.h
Expand Down

0 comments on commit 0a80392

Please sign in to comment.