Skip to content

Commit ac9f2c1

Browse files
committed
fix bug for add_clang_library with libclang
1 parent e1bb3bc commit ac9f2c1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/clang/tools/libclang/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@ else()
143143
endif()
144144

145145
if(1) # HLSL Change don't build the static target like this
146-
add_clang_library(libclang ${ENABLE_SHARED} ${ENABLE_STATIC}
147-
OUTPUT_NAME ${output_name}
148-
${SOURCES}
149-
# DEPENDS clang-headers - HLSL Change
150-
146+
add_clang_library(libclang ${SOURCES}
151147
LINK_LIBS
152148
${LIBS}
153149

0 commit comments

Comments
 (0)