Skip to content

Commit ab188b3

Browse files
committed
CDK: add TEST_COMPILE_FLAGS setting.
1 parent c8202ff commit ab188b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cdk/cmake/testing.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ IF(WITH_TESTS)
155155
if (MSVC)
156156

157157
target_compile_options(${TEST} PRIVATE
158+
${TEST_COMPILE_FLAGS}
158159
/W3
159160
/wd4244
160161
/wd4267
@@ -173,6 +174,7 @@ IF(WITH_TESTS)
173174
elseif((CMAKE_SYSTEM_NAME MATCHES "SunOS") OR CMAKE_COMPILER_IS_GNUCXX)
174175

175176
target_compile_options(${TEST} PRIVATE
177+
${TEST_COMPILE_FLAGS}
176178
-Wno-unused-but-set-variable
177179
-Wno-maybe-uninitialized
178180
-Wno-unused-value

0 commit comments

Comments
 (0)