Skip to content

Commit 6712e83

Browse files
authored
Update CMakeLists.txt
1 parent 490b4c5 commit 6712e83

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ if(jsoncpp_FOUND)
5454
target_link_libraries(netmgr JsonCpp::JsonCpp)
5555
set(JSONCPP_FOUND TRUE)
5656
message(STATUS "Found jsoncpp via CONFIG find_package")
57-
else
58-
# Try pkg-config fallback
57+
else()
5958
find_package(PkgConfig QUIET)
6059
if(PkgConfig_FOUND)
6160
pkg_check_modules(JSONCPP jsoncpp)

0 commit comments

Comments
 (0)