From 556cf073d61875368fe8511b75f5cb7db04ccb52 Mon Sep 17 00:00:00 2001 From: Marc Sunet Date: Wed, 19 Nov 2025 11:24:21 -0800 Subject: Use C++ modules --- hello/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'hello/CMakeLists.txt') diff --git a/hello/CMakeLists.txt b/hello/CMakeLists.txt index 90a0d78..ac9f285 100644 --- a/hello/CMakeLists.txt +++ b/hello/CMakeLists.txt @@ -1,7 +1,10 @@ -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.25) -add_executable(hello main.cc) +project(hello) -target_link_libraries(hello +add_executable(hello + main.cc) + +target_link_libraries(hello PRIVATE dxcommon dxwindow) -- cgit v1.2.3