diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-08 10:50:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-08 10:50:14 +0100 |
commit | 3f71901f8c228f4de570abed1831ce3ee425343e (patch) | |
tree | a2dcd300d05ef8a2ec275b44a92a9d85bd3baa24 /dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch | |
parent | 12bb627384ddfd47382b9f1b6464481a58d01ebb (diff) |
gentoo resync 08.09.2018
Diffstat (limited to 'dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch')
-rw-r--r-- | dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch b/dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch deleted file mode 100644 index 95e849fdc8ff..000000000000 --- a/dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- tinyxml2-4.0.1/CMakeLists.txt -+++ tinyxml2-4.0.1/CMakeLists.txt -@@ -100,15 +100,18 @@ - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
- endif()
-
--add_executable(xmltest xmltest.cpp)
--if(BUILD_SHARED_LIBS)
-- add_dependencies(xmltest tinyxml2)
-- add_dependencies(xmltest ${TARGET_DATA_COPY})
-- target_link_libraries(xmltest tinyxml2)
--else(BUILD_STATIC_LIBS)
-- add_dependencies(xmltest tinyxml2_static)
-- add_dependencies(xmltest ${TARGET_DATA_COPY})
-- target_link_libraries(xmltest tinyxml2_static)
-+set(BUILD_TEST OFF CACHE BOOL "Set to ON to build tests")
-+if(BUILD_TEST)
-+ add_executable(xmltest xmltest.cpp)
-+ if(BUILD_SHARED_LIBS)
-+ add_dependencies(xmltest tinyxml2)
-+ add_dependencies(xmltest ${TARGET_DATA_COPY})
-+ target_link_libraries(xmltest tinyxml2)
-+ else(BUILD_STATIC_LIBS)
-+ add_dependencies(xmltest tinyxml2_static)
-+ add_dependencies(xmltest ${TARGET_DATA_COPY})
-+ target_link_libraries(xmltest tinyxml2_static)
-+ endif()
- endif()
- install(TARGETS DESTINATION ${CMAKE_INSTALL_BINDIR})
-
|