File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ add_library(graphqlservice
41
41
Introspection.cpp
42
42
${CMAKE_BINARY_DIR} /graphqlservice/IntrospectionSchema.cpp )
43
43
target_link_libraries (graphqlservice PRIVATE taocpp::pegtl )
44
- target_link_libraries (graphqlservice PUBLIC ${CMAKE_THREAD_LIBS_INIT} )
44
+ target_link_libraries (graphqlservice PUBLIC Threads::Threads )
45
45
target_include_directories (graphqlservice
46
46
PUBLIC
47
47
$< BUILD_INTERFACE:${CMAKE_SOURCE_DIR} /include>
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ The following import targets are created
15
15
16
16
include (CMakeFindDependencyMacro )
17
17
find_package (pegtl REQUIRED )
18
+ find_package (Threads REQUIRED )
18
19
include ("${CMAKE_CURRENT_LIST_DIR} /cppgraphqlgen-targets.cmake" )
You can’t perform that action at this time.
0 commit comments