diff options
| author | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 11:24:21 -0800 |
|---|---|---|
| committer | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 11:24:21 -0800 |
| commit | 556cf073d61875368fe8511b75f5cb7db04ccb52 (patch) | |
| tree | 356c3cfdfa926b7e3b11767dc76ab981610a463b /dxwindow/CMakeLists.txt | |
| parent | 5516490fd5bea08d253dcaed59c430c2dada5c2d (diff) | |
Use C++ modules
Diffstat (limited to 'dxwindow/CMakeLists.txt')
| -rw-r--r-- | dxwindow/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dxwindow/CMakeLists.txt b/dxwindow/CMakeLists.txt index baf99de..16c1709 100644 --- a/dxwindow/CMakeLists.txt +++ b/dxwindow/CMakeLists.txt | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | cmake_minimum_required(VERSION 3.20) | 1 | cmake_minimum_required(VERSION 3.25) |
| 2 | 2 | ||
| 3 | add_library(dxwindow | 3 | add_library(dxwindow) |
| 4 | src/dxwindow.cc) | ||
| 5 | 4 | ||
| 6 | target_include_directories(dxwindow PUBLIC | 5 | target_sources(dxwindow PUBLIC |
| 7 | include/) | 6 | FILE_SET cxx_modules TYPE CXX_MODULES FILES |
| 7 | dxwindow.ixx) | ||
| 8 | 8 | ||
| 9 | target_link_libraries(dxwindow PUBLIC | 9 | target_link_libraries(dxwindow PUBLIC |
| 10 | glfw) | 10 | glfw) |
