diff options
author | crupest <crupest@outlook.com> | 2022-01-25 00:09:19 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-25 00:09:19 +0800 |
commit | 6b34acefdbf82e3bcc5d3a103ecb2118ae05b81e (patch) | |
tree | 06e56cc868dcbdd5062a15e87dc7baec320c8b4b /src/common/CMakeLists.txt | |
parent | 24e1dc8723aea1e46a3aa15794747f3fa52f8eca (diff) | |
download | cru-6b34acefdbf82e3bcc5d3a103ecb2118ae05b81e.tar.gz cru-6b34acefdbf82e3bcc5d3a103ecb2118ae05b81e.tar.bz2 cru-6b34acefdbf82e3bcc5d3a103ecb2118ae05b81e.zip |
...
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r-- | src/common/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 40c85ef0..d8462abf 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -21,6 +21,12 @@ if (UNIX) endif() if (WIN32) + target_sources(cru_base PRIVATE + io/Win32FileStream.cpp + ) +endif() + +if (WIN32) target_compile_definitions(cru_base PUBLIC CRU_PLATFORM_WINDOWS) elseif(APPLE) target_compile_definitions(cru_base PUBLIC CRU_PLATFORM_OSX) |