Skip to content

Commit

Permalink
Fix "fatal error: NetworkManager.h: No such file or directory"
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrun committed Jun 14, 2021
1 parent c1f1665 commit 9827006
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ if(UNIX AND NOT APPLE )
list( APPEND ROUTERKEYGEN_SRCS wifi/QWifiManagerPrivateUnix.cpp )
list( APPEND ROUTERKEYGEN_HDRS wifi/QWifiManagerPrivateUnix.h )
include_directories(/usr/include/NetworkManager)
find_package(PkgConfig)
pkg_check_modules(LIBNM libnm)
if(LIBNM_FOUND)
add_compile_options(${LIBNM_CFLAGS})
endif(LIBNM_FOUND)
if(Qt5Core_FOUND)
find_package(Qt5DBus)
set(ROUTERKEYGEN_LIBS ${ROUTERKEYGEN_LIBS} ${Qt5DBus_LIBRARIES})
Expand Down

0 comments on commit 9827006

Please sign in to comment.