mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
libgraphqlparser is a parser for GraphQL, a query language for describing data requirements on complex application data models, implemented in C++11. It can be used on its own in C++ code (or in C code via the pure C API defined in the c subdirectory), or you can use it as the basis for an extension module for your favorite programming language instead of writing your own parser from scratch. WWW: https://github.com/graphql/libgraphqlparser
15 lines
467 B
Text
15 lines
467 B
Text
--- CMakeLists.txt.orig 2017-10-16 21:39:41 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -7,9 +7,9 @@ INCLUDE(version)
|
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
|
|
|
|
-FIND_PACKAGE(PythonInterp 2 REQUIRED)
|
|
-IF (NOT PYTHON_VERSION_MAJOR EQUAL 2)
|
|
- MESSAGE(FATAL_ERROR "Python 2 is required.")
|
|
+FIND_PACKAGE(PythonInterp 3 REQUIRED)
|
|
+IF (NOT PYTHON_VERSION_MAJOR EQUAL 3)
|
|
+ MESSAGE(FATAL_ERROR "Python 3 is required.")
|
|
ENDIF()
|
|
|
|
FIND_PROGRAM(CTYPESGEN_FOUND ctypesgen.py)
|