Skip to content

Commit 316f337

Browse files
committed
Update vcpkg simple Example
1 parent 184d9fd commit 316f337

File tree

5 files changed

+407
-13
lines changed

5 files changed

+407
-13
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
cmake_minimum_required(VERSION 3.10)
1+
cmake_minimum_required(VERSION 3.24)
22

3-
project(HelloWorld)
3+
project(FormatOutput LANGUAGES CXX C)
44

5-
find_package(fmt CONFIG REQUIRED)
5+
set(CMAKE_CXX_STANDARD 14)
66

7-
add_executable(HelloWorld helloworld.cpp)
7+
find_package(fmt REQUIRED)
88

9-
target_link_libraries(HelloWorld PRIVATE fmt::fmt)
9+
add_executable(main src/main.cpp)
10+
target_link_libraries(main PRIVATE fmt::fmt)

examples/vcpkg_cmake/simple/helloworld.cpp

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)