Skip to content

Commit 11e95e2

Browse files
committed
manage skip defult runner
Signed-off-by: Uilian Ries <[email protected]>
1 parent e38bce4 commit 11e95e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ target_compile_options(${PROJECT_NAME}
143143
$<$<C_COMPILER_ID:MSVC>:
144144
/Wall
145145
>
146+
)
146147

148+
target_compile_definitions(${PROJECT_NAME}
149+
PRIVATE
147150
# Enable shared library
148151
$<$<BOOL:${BUILD_SHARED_LIBS}>:UNITY_SKIP_DEFAULT_RUNNER>
149152
)

0 commit comments

Comments
 (0)