Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2019-11-27 13:17:58 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2019-11-27 13:17:58 +0300
commitc179a13a4bc9568ffa35f6eb9d814195beeefb59 (patch)
treed76f2b5e24faf8550fca6da45794d15dfcd59b42 /build_files/cmake
parent0ca44974c97fbfd39187fb123c35037b17eaac60 (diff)
parentfc1a073bcdc9d2a9ecd4b765724b0f4f4cab4d46 (diff)
Merge branch 'master' into fluid-mantaflow
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/macros.cmake26
-rw-r--r--build_files/cmake/platform/platform_win32.cmake22
2 files changed, 0 insertions, 48 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 395a7d134d5..e2b07227366 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -539,9 +539,6 @@ function(setup_liblinks
)
endif()
endif()
- if(WITH_MOD_CLOTH_ELTOPO)
- target_link_libraries(${target} ${LAPACK_LIBRARIES})
- endif()
if(WITH_LLVM)
target_link_libraries(${target} ${LLVM_LIBRARY})
endif()
@@ -1236,29 +1233,6 @@ macro(openmp_delayload
endif()
endmacro()
-macro(WINDOWS_SIGN_TARGET target)
- if(WITH_WINDOWS_CODESIGN)
- if(!SIGNTOOL_EXE)
- error("Codesigning is enabled, but signtool is not found")
- else()
- if(WINDOWS_CODESIGN_PFX_PASSWORD)
- set(CODESIGNPASSWORD /p ${WINDOWS_CODESIGN_PFX_PASSWORD})
- else()
- if($ENV{PFXPASSWORD})
- set(CODESIGNPASSWORD /p $ENV{PFXPASSWORD})
- else()
- message(FATAL_ERROR "WITH_WINDOWS_CODESIGN is on but WINDOWS_CODESIGN_PFX_PASSWORD not set, and environment variable PFXPASSWORD not found, unable to sign code.")
- endif()
- endif()
- add_custom_command(TARGET ${target}
- POST_BUILD
- COMMAND ${SIGNTOOL_EXE} sign /f ${WINDOWS_CODESIGN_PFX} ${CODESIGNPASSWORD} $<TARGET_FILE:${target}>
- VERBATIM
- )
- endif()
- endif()
-endmacro()
-
macro(blender_precompile_headers target cpp header)
if(MSVC)
# get the name for the pch output file
diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake
index 4ca971a63df..2d4343a636d 100644
--- a/build_files/cmake/platform/platform_win32.cmake
+++ b/build_files/cmake/platform/platform_win32.cmake
@@ -517,17 +517,6 @@ if(WITH_ALEMBIC)
set(ALEMBIC_FOUND 1)
endif()
-if(WITH_MOD_CLOTH_ELTOPO)
- set(LAPACK ${LIBDIR}/lapack)
- # set(LAPACK_INCLUDE_DIR ${LAPACK}/include)
- set(LAPACK_LIBPATH ${LAPACK}/lib)
- set(LAPACK_LIBRARIES
- ${LIBDIR}/lapack/lib/libf2c.lib
- ${LIBDIR}/lapack/lib/clapack_nowrap.lib
- ${LIBDIR}/lapack/lib/BLAS_nowrap.lib
- )
-endif()
-
if(WITH_IMAGE_OPENJPEG)
set(OPENJPEG ${LIBDIR}/openjpeg)
set(OPENJPEG_INCLUDE_DIRS ${OPENJPEG}/include/openjpeg-2.3)
@@ -598,17 +587,6 @@ endif()
# used in many places so include globally, like OpenGL
blender_include_dirs_sys("${PTHREADS_INCLUDE_DIRS}")
-# Find signtool.
-set(ProgramFilesX86_NAME "ProgramFiles(x86)") #env dislikes the ( )
-find_program(SIGNTOOL_EXE signtool
- HINTS
- "$ENV{${ProgramFilesX86_NAME}}/Windows Kits/10/bin/x86/"
- "$ENV{ProgramFiles}/Windows Kits/10/bin/x86/"
- "$ENV{${ProgramFilesX86_NAME}}/Windows Kits/8.1/bin/x86/"
- "$ENV{ProgramFiles}/Windows Kits/8.1/bin/x86/"
- "$ENV{${ProgramFilesX86_NAME}}/Windows Kits/8.0/bin/x86/"
- "$ENV{ProgramFiles}/Windows Kits/8.0/bin/x86/"
-)
set(WINTAB_INC ${LIBDIR}/wintab/include)
if(WITH_OPENAL)