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>2020-09-15 17:00:15 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-09-17 13:29:19 +0300
commitf9fcb25d521d11b425e1071a95ed342d9ddbef97 (patch)
treee3c2a12097b774d607a3bd61c4f3c1ecd3a26cba /CMakeLists.txt
parent0700c045bc7fb2ec996e04a60eed24f338559924 (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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c9a020ebbc3..a2e6e557a62 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -840,11 +840,10 @@ set(CXX_WARNINGS)
set(C_REMOVE_STRICT_FLAGS)
set(CXX_REMOVE_STRICT_FLAGS)
-# libraries to link the binary with passed to target_link_libraries()
-# known as LLIBS to scons
+# Libraries to link to targets in setup_platform_linker_libs
set(PLATFORM_LINKLIBS "")
-# Added to linker flags in setup_liblinks
+# Added to target linker flags in setup_platform_linker_flags
# - CMAKE_EXE_LINKER_FLAGS
# - CMAKE_EXE_LINKER_FLAGS_DEBUG
set(PLATFORM_LINKFLAGS "")