Commit e2c911bd authored by Andreas Tille's avatar Andreas Tille
Browse files

Activate build time test

parent c852b74f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,7 +7,8 @@ Build-Depends: debhelper (>= 11~),
               cmake,
               d-shlibs,
               rename,
               libbioparser-dev
               libbioparser-dev,
               libgtest-dev
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/spoa
Vcs-Git: https://salsa.debian.org/med-team/spoa.git
+1 −1
Original line number Diff line number Diff line
@@ -27,5 +27,5 @@ Description: Use Debian packaged libraries
-    add_subdirectory(vendor/googletest/googletest EXCLUDE_FROM_ALL)
-
-    target_link_libraries(spoa_test spoa bioparser gtest_main)
+    target_link_libraries(spoa_test spoa z)
+    target_link_libraries(spoa_test spoa gtest_main gtest z pthread)
 endif(spoa_build_tests)
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

DEB_CMAKE_EXTRA_FLAGS = -DCMAKE_BUILD_TYPE=Release \
                        -Dspoa_build_executable=ON
                        -Dspoa_build_executable=ON \
                        -Dspoa_build_tests=ON

%:
	dh $@