Why does blender not release an executable file?

Just set your CMAKE_EXE_LINKER_FLAGS to -no-pie ?