Skip to content

Commit

Permalink
mckae UPDATE cmocka test for lib tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 20, 2024
1 parent e64de6c commit dac4bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ if(ENABLE_VALGRIND_TESTS)
endif()
endif()

if(ENABLE_TESTS)
if(ENABLE_TESTS OR BUILD_NETOPEER2_LIB AND NETOPEER2_LIB_TESTS)
find_package(CMocka 1.0.1)
if(NOT CMOCKA_FOUND)
message(STATUS "Disabling tests because of missing CMocka")
Expand Down

0 comments on commit dac4bf1

Please sign in to comment.