浏览代码

cmake: fix typo

INTERFACE_COMPILE_COMPILE_OPTIONS -> INTERFACE_COMPILE_OPTIONS
Anonymous Maarten 1 月之前
父节点
当前提交
c5b0187fc9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cmake/sdlcommands.cmake

+ 1 - 1
cmake/sdlcommands.cmake

@@ -154,7 +154,7 @@ function(sdl_compile_options)
     target_compile_options(SDL3-static ${visibility} ${escaped_opts})
     target_compile_options(SDL3-static ${visibility} ${escaped_opts})
   endif()
   endif()
   if(NOT ARGS_NO_EXPORT AND (ARGS_PUBLIC OR ARGS_INTERFACE))
   if(NOT ARGS_NO_EXPORT AND (ARGS_PUBLIC OR ARGS_INTERFACE))
-    set_property(TARGET SDL3-collector APPEND PROPERTY INTERFACE_COMPILE_COMPILE_OPTIONS "${ARGS_UNPARSED_ARGUMENTS}")
+    set_property(TARGET SDL3-collector APPEND PROPERTY INTERFACE_COMPILE_OPTIONS "${ARGS_UNPARSED_ARGUMENTS}")
   endif()
   endif()
 endfunction()
 endfunction()