File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -117,22 +117,22 @@ if(BUILD_TESTS OR UPDATE_SAMPLES)
117
117
DEPENDS TodaySchema.cpp
118
118
)
119
119
120
- if (BUILD_TESTS )
121
- add_library (todaygraphql
122
- Today.cpp
123
- TodaySchema.cpp )
124
- target_link_libraries (todaygraphql PUBLIC
125
- graphqlservice
126
- graphqljson )
127
- target_include_directories (todaygraphql PUBLIC
128
- ${CMAKE_CURRENT_SOURCE_DIR} /include
129
- ${CMAKE_CURRENT_BINARY_DIR} /include )
130
- cppgraphqlgen_target_set_cxx_standard (todaygraphql )
120
+ add_library (todaygraphql
121
+ Today.cpp
122
+ TodaySchema.cpp )
123
+ target_link_libraries (todaygraphql PUBLIC
124
+ graphqlservice )
125
+ target_include_directories (todaygraphql PUBLIC
126
+ ${CMAKE_CURRENT_SOURCE_DIR} /include
127
+ ${CMAKE_CURRENT_BINARY_DIR} /include )
128
+ cppgraphqlgen_target_set_cxx_standard (todaygraphql )
131
129
130
+ if (BUILD_TESTS )
132
131
add_executable (test_today
133
132
test_today.cpp )
134
133
target_link_libraries (test_today PRIVATE
135
- todaygraphql )
134
+ todaygraphql
135
+ graphqljson )
136
136
cppgraphqlgen_target_set_cxx_standard (test_today )
137
137
138
138
enable_testing ()
@@ -142,6 +142,7 @@ if(BUILD_TESTS OR UPDATE_SAMPLES)
142
142
tests.cpp )
143
143
target_link_libraries (tests PRIVATE
144
144
todaygraphql
145
+ graphqljson
145
146
GTest::GTest
146
147
GTest::Main )
147
148
cppgraphqlgen_target_set_cxx_standard (tests )
You can’t perform that action at this time.
0 commit comments