Skip to content

Commit

Permalink
Fix cmake config for hostap.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltrano committed Nov 18, 2023
1 parent a344b2c commit 46479f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions external/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ ExternalProject_Add(hostap
COMMAND Q=1 DESTDIR=${HOSTAP_INSTALL_DIR} ${MAKE} -C ${HOSTAPD_DIR_NAME} install
)

# Define an interface library for libwpa_client.so that other cmake targets can
# use in target_link_libraries to pull it in as a dependency.
# Define an interface library for libwpa_client.so that other cmake targets can use in target_link_libraries to pull it in as a dependency.
add_library(libwpa-client INTERFACE)
target_include_directories(libwpa-client INTERFACE ${HOSTAP_INSTALL_INCLUDE_DIR})
target_link_libraries(libwpa-client INTERFACE ${HOSTAP_INSTALL_LIB_DIR}/libwpa_client.so)
Expand Down

0 comments on commit 46479f6

Please sign in to comment.