diff options
author | Brad King <brad.king@kitware.com> | 2023-08-15 13:34:45 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-15 13:35:08 (GMT) |
commit | 969b07ba8e0bb3318aee062e37db23274f12b5c1 (patch) | |
tree | a574d46f346ebbbba32a3958edc15e976f7a7369 /Tests | |
parent | 70df49549f075a8b19259ea06d691fa294f9f19c (diff) | |
parent | 8b0f0dc25779515c7904cd2286a54e6055cb9f19 (diff) | |
download | CMake-969b07ba8e0bb3318aee062e37db23274f12b5c1.zip CMake-969b07ba8e0bb3318aee062e37db23274f12b5c1.tar.gz CMake-969b07ba8e0bb3318aee062e37db23274f12b5c1.tar.bz2 |
Merge topic 'TAPI-is-Apple-only'
8b0f0dc257 Apple Text Stubs (.tbd): various fixes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8708
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/AppleTextStubs/Framework-import.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/RunCMake/AppleTextStubs/Framework-import.cmake b/Tests/RunCMake/AppleTextStubs/Framework-import.cmake index e0001d0..d142c0c 100644 --- a/Tests/RunCMake/AppleTextStubs/Framework-import.cmake +++ b/Tests/RunCMake/AppleTextStubs/Framework-import.cmake @@ -10,15 +10,15 @@ if (NOT is_framework) message(SEND_ERROR "foo-build::foo: FRAMEWORK not set.") endif() get_property(enable_exports TARGET foo-install::foo PROPERTY ENABLE_EXPORTS) -if (CAMKE_TAPI AND NOT enable_exports) +if (CMAKE_TAPI AND NOT enable_exports) message(SEND_ERROR "foo-install::foo: ENABLE_EXPORTS not set.") endif() get_property(implib TARGET foo-install::foo PROPERTY IMPORTED_IMPLIB_RELEASE) -if (CAMKE_TAPI AND NOT implib) +if (CMAKE_TAPI AND NOT implib) message(SEND_ERROR "foo-install::foo: IMPORTED_IMPLIB_RELEASE not set.") endif() -if (CAMKE_TAPI AND NOT implib MATCHES "foo.framework/Versions/A/foo.tbd$") +if (CMAKE_TAPI AND NOT implib MATCHES "foo.framework/Versions/A/foo.tbd$") message(SEND_ERROR "foo-install::foo: ${implib}: wrong value for IMPORTED_IMPLIB_RELEASE.") endif() @@ -41,15 +41,15 @@ if (NOT is_framework) message(SEND_ERROR "foo-build::foo: FRAMEWORK not set.") endif() get_property(enable_exports TARGET foo-build::foo PROPERTY ENABLE_EXPORTS) -if (CAMKE_TAPI AND NOT enable_exports) +if (CMAKE_TAPI AND NOT enable_exports) message(SEND_ERROR "foo-build::foo: ENABLE_EXPORTS not set.") endif() get_property(implib TARGET foo-build::foo PROPERTY IMPORTED_IMPLIB_RELEASE) -if (CAMKE_TAPI AND NOT implib) +if (CMAKE_TAPI AND NOT implib) message(SEND_ERROR "foo-build::foo: IMPORTED_IMPLIB_RELEASE not set.") endif() -if (CAMKE_TAPI AND NOT implib STREQUAL "${foo_BUILD}/foo.framework/Versions/A/foo.tbd") +if (CMAKE_TAPI AND NOT implib STREQUAL "${foo_BUILD}/foo.framework/Versions/A/foo.tbd") message(SEND_ERROR "foo-build::foo: ${implib}: wrong value for IMPORTED_IMPLIB_RELEASE.") endif() |