[Bf-blender-cvs] [99f5b9f900e] temp_cryptomatte: Tentative fix for linux linking

Jens Verwiebe noreply at git.blender.org
Sat Nov 4 16:47:48 CET 2017


Commit: 99f5b9f900e46c5b888ff368feba655167be5a05
Author: Jens Verwiebe
Date:   Sat Nov 4 16:46:42 2017 +0100
Branches: temp_cryptomatte
https://developer.blender.org/rB99f5b9f900e46c5b888ff368feba655167be5a05

Tentative fix for linux linking

===================================================================

M	build_files/cmake/macros.cmake

===================================================================

diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 6998595a6fc..c3842ef5426 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -668,6 +668,11 @@ function(SETUP_BLENDER_SORTED_LIBS)
 		bf_intern_glew_mx
 	)
 
+	# tenative fix for linux missing flatten_coverage symbol cause of contradictionary ordering
+	if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+		list(APPEND BLENDER_SORTED_LIBS cycles_render)
+	endif()
+
 	if(NOT WITH_SYSTEM_GLOG)
 		list(APPEND BLENDER_SORTED_LIBS extern_glog)
 	endif()



More information about the Bf-blender-cvs mailing list