Skip to content

Commit

Permalink
Merge pull request #35 from microsoft/fixexternalproject
Browse files Browse the repository at this point in the history
Fix first-time build on Linux when Ninja generator is used
  • Loading branch information
abeltrano authored Nov 29, 2023
2 parents 68e8e02 + 695da7e commit 9c2f02c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions external/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ ExternalProject_Add(hostap
INSTALL_COMMAND
COMMAND Q=1 DESTDIR=${HOSTAP_INSTALL_DIR} ${MAKE} -C ${WPA_SUPPLICANT_DIR_NAME} install
COMMAND Q=1 DESTDIR=${HOSTAP_INSTALL_DIR} ${MAKE} -C ${HOSTAPD_DIR_NAME} install
INSTALL_BYPRODUCTS
${HOSTAP_INSTALL_BIN_DIR}/hostapd
${HOSTAP_INSTALL_BIN_DIR}/hostapd_cli
${HOSTAP_INSTALL_INCLUDE_DIR}/wpa_ctrl.h
${HOSTAP_INSTALL_LIB_DIR}/libwpa_client.so
${HOSTAP_INSTALL_SBIN_DIR}/wpa_cli
${HOSTAP_INSTALL_SBIN_DIR}/wpa_passphrase
${HOSTAP_INSTALL_SBIN_DIR}/wpa_supplicant
)

# 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.
Expand Down

0 comments on commit 9c2f02c

Please sign in to comment.