--- a/core/xmake.sh
+++ b/core/xmake.sh
@@ -164,7 +164,7 @@
 # the sv option
 option "sv"
     add_cfuncs "semver_tryn"
-    add_cincludes "semver.h"
+    add_cincludes "sv/semver.h"
     add_links "sv"
     before_check "option_find_sv"
 option_end
