Skip to content

Commit

Permalink
fix unit tests missing compile def
Browse files Browse the repository at this point in the history
Signed-off-by: Timm Ruppert <[email protected]>
  • Loading branch information
TimmRuppert committed Dec 2, 2024
1 parent e8326c1 commit be82b6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ add_executable(
${src_sources}
)
target_link_libraries(unit_tests PRIVATE GTest::gtest_main)
# see src/CMakeLists.txt
target_compile_definitions(unit_tests PRIVATE OSI_TRACE_FILE_SPEC_VERSION="3.7.1")

# Link against OSI made available by parent CMakeLists.txt
if (LINK_WITH_SHARED_OSI)
Expand Down

0 comments on commit be82b6a

Please sign in to comment.