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:
authorBrecht Van Lommel <brecht@blender.org>2022-09-18 12:21:25 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-09-18 12:26:23 +0300
commit892a5f81761c260aec2a34240601cb27b37ff4b4 (patch)
tree092254f56d4618d7c2f2daa805fab68f733d1d97 /build_files/cmake/macros.cmake
parent3ff15a9e23bd8a20ee514944779a898f1fe5accb (diff)
Build: disable gtests entirely for Python module
To avoid test failure on Windows.
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r--build_files/cmake/macros.cmake14
1 files changed, 0 insertions, 14 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 093106fc4dc..d271d8f216f 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -418,13 +418,6 @@ function(blender_add_test_lib
library_deps
)
- # Not currently supported for Python module due to different required
- # Python link flags.
- if(WITH_PYTHON_MODULE)
- add_custom_target(${name})
- return()
- endif()
-
add_cc_flags_custom_test(${name} PARENT_SCOPE)
# Otherwise external projects will produce warnings that we cannot fix.
@@ -471,13 +464,6 @@ function(blender_add_test_executable
library_deps
)
- # Not currently supported for Python module due to different required
- # Python link flags.
- if(WITH_PYTHON_MODULE)
- add_custom_target(${name})
- return()
- endif()
-
add_cc_flags_custom_test(${name} PARENT_SCOPE)
## Otherwise external projects will produce warnings that we cannot fix.