Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix first-time build on Linux when Ninja generator is used #35

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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