diff options
author | Niyas Sait <niyas.sait@linaro.org> | 2022-07-05 19:09:35 (GMT) |
---|---|---|
committer | Niyas Sait <niyas.sait@linaro.org> | 2022-07-05 19:12:09 (GMT) |
commit | 190e3b93cdf7f6699f8354f48c799acf8c35a44d (patch) | |
tree | 69ec1c5a8bf7994da2dd72f4f860a9f375f1b065 /Tests/RunCMake/AutoExportDll | |
parent | 035d6d5251c70fee866ae00ba19473fc96adb2e7 (diff) | |
download | CMake-190e3b93cdf7f6699f8354f48c799acf8c35a44d.zip CMake-190e3b93cdf7f6699f8354f48c799acf8c35a44d.tar.gz CMake-190e3b93cdf7f6699f8354f48c799acf8c35a44d.tar.bz2 |
Tests: Exclude win/arm64 tests with CMAKE_VS_PLATFORM_NAME
Diffstat (limited to 'Tests/RunCMake/AutoExportDll')
-rw-r--r-- | Tests/RunCMake/AutoExportDll/AutoExport.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/AutoExportDll/AutoExport.cmake b/Tests/RunCMake/AutoExportDll/AutoExport.cmake index dbcf4b8..fe57d56 100644 --- a/Tests/RunCMake/AutoExportDll/AutoExport.cmake +++ b/Tests/RunCMake/AutoExportDll/AutoExport.cmake @@ -7,7 +7,7 @@ set_property(TARGET objlib PROPERTY POSITION_INDEPENDENT_CODE 1) add_library(autoexport SHARED hello.cxx world.cxx foo.c $<TARGET_OBJECTS:objlib>) add_library(autoexport3 SHARED cppCLI.cxx) if(MSVC AND NOT MSVC_VERSION VERSION_LESS 1600 - AND NOT CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64") + AND NOT CMAKE_VS_PLATFORM_NAME STREQUAL "ARM64") set_property(TARGET autoexport3 PROPERTY COMMON_LANGUAGE_RUNTIME "") endif() @@ -17,7 +17,7 @@ if(MSVC) add_library(autoexport_for_exec SHARED hello2.c) target_link_libraries(autoexport_for_exec say) if(NOT MSVC_VERSION VERSION_LESS 1600 AND - NOT CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64") + NOT CMAKE_VS_PLATFORM_NAME STREQUAL "ARM64") enable_language(ASM_MASM) target_sources(autoexport PRIVATE nop.asm) set_property(SOURCE nop.asm PROPERTY COMPILE_FLAGS /safeseh) |