aboutsummaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt6
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)