Update CMakeLists.txt

Excluding separate installation of GraphQL library.
This commit is contained in:
WrightNed 2023-02-20 10:33:03 +02:00 committed by GitHub
parent 1f24c12a34
commit 2072eba07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,8 +121,11 @@ INSTALL(FILES
JsonVisitor.h JsonVisitor.h
${BISON_LOCATION_HEADER} ${BISON_LOCATION_HEADER}
DESTINATION include/graphqlparser) DESTINATION include/graphqlparser)
if (0)
INSTALL(TARGETS graphqlparser INSTALL(TARGETS graphqlparser
LIBRARY DESTINATION lib) LIBRARY DESTINATION lib)
endif
if (UNIX) if (UNIX)
# generate pkgconfig file # generate pkgconfig file