CMake: fixup for running ./configure

This commit is contained in:
Anna “CyberTailor” 2023-02-05 17:20:42 +05:00
parent 74e064fedc
commit 7223f9826b
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
1 changed files with 5 additions and 1 deletions

View File

@ -202,7 +202,11 @@ elseif(WIN32)
$<BUILD_INTERFACE:${BOINC_DIR}/win_build>
)
elseif(UNIX)
execute_process(COMMAND ./configure --disable-server --disable-client --disable-manager)
execute_process(COMMAND ${BOINC_DIR}/configure --disable-server --disable-client --disable-manager
WORKING_DIRECTORY ${BOINC_DIR}
ECHO_OUTPUT_VARIABLE
ECHO_ERROR_VARIABLE
)
file(COPY ${BOINC_DIR}/config.h DESTINATION ${BOINC_DIR}/config-h)