Skip to content

Commit 1207dba

Browse files
committed
Disable unity build on PhotoshopTest target
1 parent 29c696e commit 1207dba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ if(PSAPI_BUILD_STATIC)
108108
endif()
109109
if(PSAPI_BUILD_TESTS)
110110
add_subdirectory (PhotoshopTest)
111+
if (CMAKE_UNITY_BUILD)
112+
set_target_properties(PhotoshopTest PROPERTIES UNITY_BUILD OFF)
113+
endif()
111114
endif()
112115
if(PSAPI_BUILD_BENCHMARKS)
113116
add_subdirectory (PhotoshopBenchmark)

0 commit comments

Comments
 (0)