diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-06-25 14:15:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-25 14:15:55 +0300 |
commit | d69bb06db857553dc2bf1cad58aa3c742acfe1e8 (patch) | |
tree | a31d55e8b68c2e9fc2061858a6af49a57bd6c60a /build_files/build_environment/patches | |
parent | d3283ef1210fe63f75a3b1a60efa3abe5763e6ad (diff) |
Build: remove unused lapack/hidapi/mingw32 build infrastructure
Ref T76184
Diffstat (limited to 'build_files/build_environment/patches')
-rw-r--r-- | build_files/build_environment/patches/cmakelists_hidapi.txt | 20 | ||||
-rw-r--r-- | build_files/build_environment/patches/hidapi.diff | 15 |
2 files changed, 0 insertions, 35 deletions
diff --git a/build_files/build_environment/patches/cmakelists_hidapi.txt b/build_files/build_environment/patches/cmakelists_hidapi.txt deleted file mode 100644 index 239b9d88b16..00000000000 --- a/build_files/build_environment/patches/cmakelists_hidapi.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake_minimum_required(VERSION 2.8) -project(hidapi) - -set(SRC_FILES - windows/hid.c -) - -set(HEADER_FILES - hidapi/hidapi.h -) -include_directories(hidapi) -add_definitions(-DHID_API_STATIC) -add_library(hidapi STATIC ${SRC_FILES} ${HEADER_FILES}) - -install(TARGETS hidapi DESTINATION lib) - -INSTALL(FILES hidapi/hidapi.h - DESTINATION "include" - ) - diff --git a/build_files/build_environment/patches/hidapi.diff b/build_files/build_environment/patches/hidapi.diff deleted file mode 100644 index 720a8ae5ae9..00000000000 --- a/build_files/build_environment/patches/hidapi.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- hidapi/hidapi.h 2011-10-25 20:58:16 -0600 -+++ hidapi/hidapi.h 2016-11-01 12:05:58 -0600 -@@ -30,7 +30,11 @@ - #include <wchar.h> - - #ifdef _WIN32 -- #define HID_API_EXPORT __declspec(dllexport) -+ #ifdef HID_API_STATIC -+ #define HID_API_EXPORT -+ #else -+ #define HID_API_EXPORT __declspec(dllexport) -+ #endif - #define HID_API_CALL - #else - #define HID_API_EXPORT /**< API export macro */ |