Skip to content

Commit dde7b66

Browse files
committed
cmake: Auto-add autoconf plugin in the presence of a config.json
1 parent 1ca6006 commit dde7b66

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmake/post.service.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/config.json)
7373
add_library(config_json STATIC config_json.o)
7474
set_target_properties(config_json PROPERTIES LINKER_LANGUAGE CXX)
7575
target_link_libraries(service --whole-archive config_json --no-whole-archive)
76+
set(PLUGINS ${PLUGINS} autoconf)
7677
endif()
7778

7879
#

0 commit comments

Comments
 (0)