biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / xmpp / biboumi / catch.patch
blobbbd0a66909fe3fed5356f67f32a24bee6e23e4da
1 --- a/CMakeLists.txt
2 +++ b/CMakeLists.txt
3 @@ -303,27 +303,6 @@
4 endforeach()
7 -## Add a rule to download the catch unit test framework
8 -#
9 -include(ExternalProject)
10 -ExternalProject_Add(catch
11 - GIT_REPOSITORY "https://lab.louiz.org/louiz/Catch.git"
12 - PREFIX "external"
13 - UPDATE_COMMAND ""
14 - CONFIGURE_COMMAND ""
15 - BUILD_COMMAND ""
16 - INSTALL_COMMAND ""
17 - )
18 -set_target_properties(catch PROPERTIES EXCLUDE_FROM_ALL TRUE)
19 -ExternalProject_Get_Property(catch SOURCE_DIR)
20 -if(NOT EXISTS ${CMAKE_SOURCE_DIR}/tests/catch.hpp)
21 - target_include_directories(test_suite
22 - PUBLIC "${SOURCE_DIR}/single_include/"
23 - )
24 - add_dependencies(test_suite catch)
25 -endif()
28 ## Add some custom rules to launch the tests
30 add_custom_target(check COMMAND "test_suite"