Skip to content

Commit

Permalink
cmake BUGFIX wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 20, 2024
1 parent 9283ce2 commit a4558be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ else()
endif()

# tests
if(ENABLE_TESTS OR BUILD_NETOPEER2_LIB AND NETOPEER2_LIB_TESTS)
if(ENABLE_TEST)
if(ENABLE_TESTS OR (BUILD_NETOPEER2_LIB AND NETOPEER2_LIB_TESTS))
if(ENABLE_TESTS)
enable_testing()
endif()
add_subdirectory(tests)
Expand Down

0 comments on commit a4558be

Please sign in to comment.