"CMake Error at: string sub-command STRIP requires two arguments" when trying to build a emulator

Arthurfogo7

Member
Newcomer
Joined
Jul 31, 2022
Messages
24
Reaction score
4
Trophies
0
Age
24
Location
Brazil
XP
173
Country
Brazil
I'm trying to compile something, but this error is always happening. This is the code of the file that is "causing" the error:
#message("${GIT_EXECUTABLE}")
if(GIT_EXECUTABLE)
execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags --always OUTPUT_VARIABLE KYTY_GIT_VERSION)
else()
set(KYTY_GIT_VERSION "unknown")
endif()
string(STRIP ${KYTY_GIT_VERSION} KYTY_GIT_VERSION)
configure_file(${INPUT_FILE} ${OUTPUT_FILE})
I'm a beginner, so I need someone to fix this code for me, please.
 

Site & Scene News

Popular threads in this forum