summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linker/WindowsPhone-C.cmake
blob: 021310c4659c18be24a74f62ea22f6e3112a995a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.

block(SCOPE_FOR POLICIES)
cmake_policy(SET CMP0054 NEW)

if(CMAKE_C_SIMULATE_ID STREQUAL "MSVC")
  # MSVC is the default linker
  include(Platform/Linker/WindowsPhone-MSVC-C)
else()
    # GNU is the default linker
  include(Platform/Linker/WindowsPhone-GNU-C)
endif()

endblock()