Skip to content

Commit 02b8e38

Browse files
committed
Fix xrSound linking when Unity build is enabled
1 parent 33b5de6 commit 02b8e38

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/xrSound/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ target_sources_grouped(
7474
stdafx.h
7575
)
7676

77-
set_source_files_properties(guids.cpp PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
77+
set_source_files_properties(guids.cpp
78+
PROPERTIES
79+
SKIP_PRECOMPILE_HEADERS ON
80+
SKIP_UNITY_BUILD_INCLUSION ON
81+
)
7882

7983
target_sources_grouped(
8084
TARGET xrSound

0 commit comments

Comments
 (0)