We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b996095 commit deb470bCopy full SHA for deb470b
CMakeLists.txt
@@ -155,12 +155,20 @@ endif()
155
156
install(TARGETS
157
graphqlservice
158
- graphqljson
159
EXPORT cppgraphqlgen-targets
160
RUNTIME DESTINATION bin
161
ARCHIVE DESTINATION lib
162
LIBRARY DESTINATION lib)
163
+if(USE_RAPIDJSON)
164
+ install(TARGETS
165
+ graphqljson
166
+ EXPORT cppgraphqlgen-targets
167
+ RUNTIME DESTINATION bin
168
+ ARCHIVE DESTINATION lib
169
+ LIBRARY DESTINATION lib)
170
+endif()
171
+
172
set(CMAKE_INSTALL_TOOLSDIR ${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}
173
CACHE PATH "Install schemagen to this directory.")
174
0 commit comments