This commit is contained in:
1 file changed
+4
@@ -63,6 +63,10 @@ endif ()
|
||||
set(LIBTYPE STATIC)
|
||||
if (SHARED)
|
||||
set(LIBTYPE SHARED)
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_options(-flto=thin)
|
||||
add_link_options(-flto=thin)
|
||||
endif ()
|
||||
endif (SHARED)
|
||||
|
||||
SET(FILE_SOURCE
|
||||
|
||||
Reference in new issue
Block a user