diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-09-15 17:00:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-09-17 13:29:19 +0300 |
commit | f9fcb25d521d11b425e1071a95ed342d9ddbef97 (patch) | |
tree | e3c2a12097b774d607a3bd61c4f3c1ecd3a26cba /source/blender/blenlib/tests/performance | |
parent | 0700c045bc7fb2ec996e04a60eed24f338559924 (diff) |
CMake: clean up setting of platform specific linker flags
Set flags directly on the target, and use common function for all cases.
This refactoring helps with the next commit for test executables.
Ref D8714
Diffstat (limited to 'source/blender/blenlib/tests/performance')
-rw-r--r-- | source/blender/blenlib/tests/performance/CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenlib/tests/performance/CMakeLists.txt b/source/blender/blenlib/tests/performance/CMakeLists.txt index 88fbed0a49b..5342dbe286c 100644 --- a/source/blender/blenlib/tests/performance/CMakeLists.txt +++ b/source/blender/blenlib/tests/performance/CMakeLists.txt @@ -26,8 +26,5 @@ set(INC setup_libdirs() include_directories(${INC}) -set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}") -set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} ${PLATFORM_LINKFLAGS_DEBUG}") - BLENDER_TEST_PERFORMANCE(BLI_ghash_performance "bf_blenlib") BLENDER_TEST_PERFORMANCE(BLI_task_performance "bf_blenlib") |