File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ option(FIREBOLT_ENABLE_STATIC_LIB "Create Firebolt library as Static library" OF
2727option (ENABLE_BIDIRECTIONAL "Enable bidirectional communication over WS" OFF )
2828option (ENABLE_TESTS "Build openrpc native test" ON )
2929option (ENABLE_UNIT_TESTS "Enable unit test" ON )
30+ option (ENABLE_MOCK_TESTS "Enable mock test" ON )
3031option (ENABLE_COVERAGE "Enable code coverage build." ON )
3132option (ENABLE_INTERACTIVE_APP "Enable interactive application" ON )
3233option (FIREBOLT_PLAIN_LOG "Disable log coloring" OFF )
Original file line number Diff line number Diff line change @@ -39,8 +39,11 @@ endif ()
3939
4040add_library (${TARGET} ${FIREBOLT_LIBRARY_TYPE} ${SOURCES} )
4141
42- if (ENABLE_UNIT_TESTS )
42+ if (ENABLE_MOCK_TESTS )
4343 add_compile_definitions (MOCK_TEST)
44+ endif ()
45+
46+ if (ENABLE_UNIT_TESTS)
4447 target_compile_definitions (FireboltSDK PRIVATE UNIT_TEST)
4548endif ()
4649
You can’t perform that action at this time.
0 commit comments