[OPENGL32]
[reactos.git] / reactos / dll / opengl / mesa / x86 / CMakeLists.txt
index 3648858..e05a01a 100644 (file)
@@ -4,6 +4,10 @@ list(APPEND SOURCE
     x86_xform.c
     3dnow.c
     sse.c
+    rtasm/x86sse.c
+)
+
+list(APPEND ASM_SOURCE
     common_x86_asm.S
     x86_xform2.S
     x86_xform3.S
@@ -21,10 +25,10 @@ list(APPEND SOURCE
     sse_xform4.S
     sse_normal.S
     read_rgba_span_x86.S
-    rtasm/x86sse.c
 )
 
-add_library(mesa_x86 STATIC ${SOURCE})
+add_asm_files(mesa_x86_asm ${ASM_SOURCE})
+add_library(mesa_x86 STATIC ${SOURCE} ${mesa_x86_asm))
 
 if(NOT MSVC)
     add_compile_flags("-Wno-format")