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/blenlib | |
parent | 6bf5cc62e0901175d98506216932ec6ffd4506a5 (diff) |
Build: fix gtest build flags affecting actual library
Switch to target_ functions to avoid this.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 1 | ||||
-rw-r--r-- | source/blender/blenlib/tests/performance/CMakeLists.txt | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index 470ffebcad4..50dc11cbf0a 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -7,6 +7,7 @@ endif() set(INC . + .. # ../blenkernel # don't add this back! ../makesdna ../../../intern/atomic diff --git a/source/blender/blenlib/tests/performance/CMakeLists.txt b/source/blender/blenlib/tests/performance/CMakeLists.txt index c4f03255a11..2e4fcd4516c 100644 --- a/source/blender/blenlib/tests/performance/CMakeLists.txt +++ b/source/blender/blenlib/tests/performance/CMakeLists.txt @@ -4,6 +4,10 @@ set(INC . .. + ../.. + ../../../makesdna + ../../../../../intern/guardedalloc + ../../../../../intern/atomic ) include_directories(${INC}) |