Firstly, fix your CMakeLists.txt:
cmake_minimum_required(VERSION 3.20)
project(helloworld C)
add_executable(${PROJECT_NAME} main.c)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall)
wut_create_rpx(${PROJECT_NAME})
That's all that is necessary, the other lines will just get in your way...