aboutsummaryrefslogtreecommitdiff
path: root/core/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-03-15 22:29:53 -0700
committerrtk0c <[email protected]>2022-03-15 22:29:53 -0700
commitee450783622008698647010540d9b9a9d55cb323 (patch)
tree67088fa2da506a5229fea47b6a812d38b18304a0 /core/CMakeLists.txt
parent9dcdcf68f6a60741cbdd287e7eda23b4a21a080e (diff)
Temporarily switch to cstdio instead of custom FileStream implementation
Diffstat (limited to 'core/CMakeLists.txt')
-rw-r--r--core/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index 9885886..40c2491 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -84,6 +84,7 @@ list(APPEND CPLT_CORE_SOURCES # UI
add_source_group(Utils
src/Utils/IO/Archive.cpp
+ src/Utils/IO/CstdioFile.cpp
src/Utils/IO/DataStream.cpp
src/Utils/Sigslot.cpp
src/Utils/StandardDirectories.cpp
@@ -215,7 +216,10 @@ function(add_executable_variant TARGET_NAME)
if(CMAKE_UNITY_BUILD)
message("CpltCore: - using unity build")
- set_target_properties(${TARGET_NAME} PROPERTIES UNITY_BUILD_MODE GROUP)
+ set_target_properties(${TARGET_NAME} PROPERTIES
+ UNITY_BUILD_MODE GROUP
+ UNITY_BUILD_UNIQUE_ID "CPLT_UNITY_ID"
+ )
else()
message("CpltCore: - using regular build")
endif()