diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-09-18 08:41:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-09-18 12:26:34 +0300 |
commit | 0ffd288fab5686f55d68d0d39baf59568f4389e7 (patch) | |
tree | c92e584c1a4d417f437b41cb85638ed37e4d1255 /source/blender/editors/space_view3d/CMakeLists.txt | |
parent | 6bf5cc62e0901175d98506216932ec6ffd4506a5 (diff) |
Build: fix gtest build flags affecting actual library
Switch to target_ functions to avoid this.
Diffstat (limited to 'source/blender/editors/space_view3d/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/space_view3d/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt index 100266f4433..27a0cd8e55a 100644 --- a/source/blender/editors/space_view3d/CMakeLists.txt +++ b/source/blender/editors/space_view3d/CMakeLists.txt @@ -75,7 +75,7 @@ set(LIB ) if(WITH_PYTHON) - blender_include_dirs(../../python) + list(APPEND INC ../../python) add_definitions(-DWITH_PYTHON) endif() |