Browse Source

Merge topic 'emscripten-platform' into release-4.2

75e98477e3 Emscripten: Restore placement of source files on compile command-lines

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11444
Brad King 2 weeks ago
parent
commit
5a3f22145f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Platform/Emscripten-Clang.cmake

+ 1 - 1
Modules/Platform/Emscripten-Clang.cmake

@@ -17,5 +17,5 @@ macro(__emscripten_clang lang)
   set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS 1)
   set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_INCLUDES 1)
   set(CMAKE_${lang}_COMPILE_OBJECT
-    "<CMAKE_${lang}_COMPILER> -c <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -fPIC")
+    "<CMAKE_${lang}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE> -fPIC")
 endmacro()