Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusNi committed Dec 5, 2024
1 parent 013e834 commit 8234fa5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/samples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

add_subdirectory(src)

if (BUILD_TESTS)
add_subdirectory(tests)
if (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "4.9")
if (BUILD_TESTS)
add_subdirectory(tests)
endif()
endif()

0 comments on commit 8234fa5

Please sign in to comment.