Skip to content

Commit 0a80392

Browse files
committed
Fix installing from out of tree. Fix installing extra stuff from in tree.
1 parent f21ef42 commit 0a80392

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ ADD_SUBDIRECTORY(python)
7777

7878
OPTION(test "Build tests." OFF)
7979

80-
INSTALL(DIRECTORY c ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/c DESTINATION include/graphqlparser
80+
INSTALL(DIRECTORY c ${CMAKE_CURRENT_BINARY_DIR}/c DESTINATION include/graphqlparser
8181
FILES_MATCHING PATTERN "*.h"
8282
PATTERN "build" EXCLUDE)
8383

8484
INSTALL(FILES
85-
Ast.h
85+
${CMAKE_CURRENT_BINARY_DIR}/Ast.h
8686
AstNode.h
87-
AstVisitor.h
87+
${CMAKE_CURRENT_BINARY_DIR}/AstVisitor.h
8888
GraphQLParser.h
8989
JsonVisitor.h
9090
lexer.h

0 commit comments

Comments
 (0)