forked from qt-creator/qt-creator
This way one could easily test the CMake auto-setup package manager with a vcpkg setup. Setting vcpkg is as easy as: > git clone https://github.com/microsoft/vcpkg > .\vcpkg\bootstrap-vcpkg.bat Then you need to have vcpkg in the PATH environment variable. (PATH=${PATH};c:\projects\vcpkg in Preferences -> Environment) Change-Id: I0bdc268121c7488c5d2442fd4b40c9ea3b182501 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
11 lines
218 B
CMake
11 lines
218 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(vcpkg-libfmt)
|
|
|
|
find_package(fmt CONFIG REQUIRED)
|
|
|
|
add_executable(vcpkg-libfmt main.cpp)
|
|
target_link_libraries(vcpkg-libfmt PRIVATE fmt::fmt)
|
|
|
|
install(TARGETS vcpkg-libfmt)
|