[NTFS]
[reactos.git] / rostests / apitests / crt / ntdll_crt_apitest.cmake
index 7450951..a6432a3 100644 (file)
@@ -124,7 +124,7 @@ list(APPEND SOURCE_NTDLL
 #    wcstoul.c
 )
 
-if (ARCH MATCHES i386)
+if(ARCH STREQUAL "i386")
     list(APPEND SOURCE_NTDLL
     #    _CIpow.c
     #    _ftol.c
@@ -141,7 +141,7 @@ if (ARCH MATCHES i386)
     #    _aullshr.c
     #    _chkstk.c
     )
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
     list(APPEND SOURCE_NTDLL
     #    __C_specific_handler
     #    _setjmp.c
@@ -151,11 +151,9 @@ elseif (ARCH MATCHES amd64)
     )
 endif()
 
-
 add_executable(ntdll_crt_apitest testlist.c ${SOURCE_NTDLL})
 add_target_compile_definitions(ntdll_crt_apitest TEST_NTDLL)
 target_link_libraries(ntdll_crt_apitest wine ${PSEH_LIB})
 set_module_type(ntdll_crt_apitest win32cui)
 add_importlibs(ntdll_crt_apitest ntdll msvcrt kernel32)
 add_cd_file(TARGET ntdll_crt_apitest DESTINATION reactos/bin FOR all)
-