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

Arthurfogo7

Member
OP
Newcomer
Joined
Jul 31, 2022
Messages
22
Trophies
0
Age
22
Location
Brazil
XP
131
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

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: This parrot is no more it has ceased to be!