Skip to content

Commit bf0cfa5

Browse files
authored
hot fix for building static lib (#1203)
Fix #1197
1 parent cfc1ad7 commit bf0cfa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib_json/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ if(BUILD_STATIC_LIBS)
169169
set_target_properties(${STATIC_LIB} PROPERTIES INSTALL_RPATH "@loader_path/.")
170170
endif()
171171

172-
target_compile_features(${SHARED_LIB} PUBLIC ${REQUIRED_FEATURES})
172+
target_compile_features(${STATIC_LIB} PUBLIC ${REQUIRED_FEATURES})
173173

174174
if(NOT CMAKE_VERSION VERSION_LESS 2.8.11)
175175
target_include_directories(${STATIC_LIB} PUBLIC

0 commit comments

Comments
 (0)