From ab312ddd9888fa145f6486d5047355c0de1c46d8 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sat, 8 Jun 2024 17:14:31 +0800 Subject: [PATCH] CMakeLists: fix set_target_properties incorrect number of arguments --- thrift/compiler/generate/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrift/compiler/generate/CMakeLists.txt b/thrift/compiler/generate/CMakeLists.txt index 8baf7a8353d..f7f21cc8167 100644 --- thrift/compiler/generate/CMakeLists.txt +++ thrift/compiler/generate/CMakeLists.txt @@ -44,7 +44,7 @@ list(REMOVE_ITEM GENERATOR_FILES t_ast_generator.cc) add_library(compiler_generators STATIC ${GENERATOR_FILES} ${CMAKE_CURRENT_BINARY_DIR}/templates.cc) set_target_properties(compiler_generators PROPERTIES - POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS}) + POSITION_INDEPENDENT_CODE "${BUILD_SHARED_LIBS}") target_link_libraries( compiler_generators compiler_ast