vcpkg/ports/stormlib/disable-building-tests.patch

16 lines
496 B
Diff
Raw Normal View History

2019-05-14 01:12:59 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f5211b1..4025ea1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -358,10 +358,4 @@ install(TARGETS ${LIBRARY_NAME}
INCLUDE(CPack)
-if(STORM_BUILD_TESTS)
- target_link_libraries(storm_test ${LIBRARY_NAME})
- install(TARGETS storm_test DESTINATION bin)
-endif()
-add_executable(storm_test ${SRC_FILES} ${TOMCRYPT_FILES} ${TOMMATH_FILES} ${ZLIB_BZIP2_FILES} ${TEST_SRC_FILES})
-install(TARGETS storm_test RUNTIME DESTINATION bin)