Add Chromium-only Blender WebEngine parity work
This commit is contained in:
44
blender-5.2.0/extern/gflags/CMakeLists.txt
vendored
Normal file
44
blender-5.2.0/extern/gflags/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
# SPDX-FileCopyrightText: 2016 Blender Foundation
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Too noisy for code we don't maintain.
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_cxx_flag("-Wno-cast-function-type")
|
||||
endif()
|
||||
|
||||
set(INC
|
||||
src
|
||||
src/gflags
|
||||
)
|
||||
|
||||
set(INC_SYS
|
||||
)
|
||||
|
||||
set(SRC
|
||||
src/gflags.cc
|
||||
src/gflags_completions.cc
|
||||
src/gflags_reporting.cc
|
||||
|
||||
src/gflags/config.h
|
||||
src/gflags/gflags_completions.h
|
||||
src/gflags/gflags_declare.h
|
||||
src/gflags/gflags_gflags.h
|
||||
src/gflags/gflags.h
|
||||
src/mutex.h
|
||||
src/util.h
|
||||
)
|
||||
|
||||
set(LIB
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND SRC
|
||||
src/windows_port.cc
|
||||
src/windows_port.h
|
||||
)
|
||||
endif()
|
||||
|
||||
add_definitions(${GFLAGS_DEFINES})
|
||||
|
||||
blender_add_lib(extern_gflags "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
||||
Reference in New Issue
Block a user