From f9fcb25d521d11b425e1071a95ed342d9ddbef97 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 15 Sep 2020 16:00:15 +0200 Subject: 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 --- tests/gtests/runner/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/gtests/runner/CMakeLists.txt b/tests/gtests/runner/CMakeLists.txt index 8b3390e7aec..c1487e45b26 100644 --- a/tests/gtests/runner/CMakeLists.txt +++ b/tests/gtests/runner/CMakeLists.txt @@ -51,7 +51,7 @@ BLENDER_SRC_GTEST_EX( EXTRA_LIBS "${TEST_LIBS}" SKIP_ADD_TEST ) -setup_liblinks(blender_test) +setup_platform_linker_libs(blender_test) if(WIN32) foreach(_lib ${_test_libs}) -- cgit v1.2.3