mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
9c0956e573
while playing with qtbase on x64-uwp i found that it could not pass a try_compile command since important variables are not correctly forwarded. As such I concluded that the handling of try_compile in vcpkg is completely wrong.
7 lines
155 B
CMake
7 lines
155 B
CMake
cmake_minimum_required(VERSION 3.25)
|
|
|
|
project(try-compile-project LANGUAGES C CXX)
|
|
|
|
add_library(result "${CMAKE_CURRENT_SOURCE_DIR}/try-compile.c")
|
|
|