* Rebase patches. * Remove unused -DWITH_STATIC_LIB=ON option. * Install static library explicitly, upstream does not install it. * Remove some hunks from pkgconfig patch, upstream commit https://gitlab.com/cmocka/cmocka/-/commit/08853ca35473eb6fc0178e37dec3bc06b5ed660a
16 lines
510 B
Diff
16 lines
510 B
Diff
diff -Naur cmocka-1.1.3.orig/CMakeLists.txt cmocka-1.1.3/CMakeLists.txt
|
|
--- cmocka-1.1.3.orig/CMakeLists.txt 2018-10-05 17:16:59.084976700 -0400
|
|
+++ cmocka-1.1.3/CMakeLists.txt 2018-10-05 17:26:44.385922500 -0400
|
|
@@ -45,11 +45,6 @@
|
|
include(ConfigureChecks.cmake)
|
|
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
|
|
|
-# MinGW DLL Naming Workaround
|
|
-if (MINGW)
|
|
- set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
|
-endif (MINGW)
|
|
-
|
|
# check subdirectories
|
|
add_subdirectory(include)
|
|
add_subdirectory(src)
|