[lldb/cmake] Remove a no-op statement (#141063)

Like the comment says, this really is a no-op and has no effect on the
generated build commands.
This commit is contained in:
Pavel Labath
2025-05-23 09:23:53 +02:00
committed by GitHub
parent 61d5fdf50c
commit f1cf168a6f

View File

@@ -93,13 +93,6 @@ function(add_lldb_library name)
set(libkind STATIC)
endif()
#PIC not needed on Win
# FIXME: Setting CMAKE_CXX_FLAGS here is a no-op, use target_compile_options
# or omit this logic instead.
if (NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
if (PARAM_OBJECT)
add_library(${name} ${libkind} ${srcs})
else()