Skip to content

Commit

Permalink
hot fix for building static lib (#1203)
Browse files Browse the repository at this point in the history
Fix #1197
  • Loading branch information
dota17 authored Jul 14, 2020
1 parent cfc1ad7 commit bf0cfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib_json/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if(BUILD_STATIC_LIBS)
set_target_properties(${STATIC_LIB} PROPERTIES INSTALL_RPATH "@loader_path/.")
endif()

target_compile_features(${SHARED_LIB} PUBLIC ${REQUIRED_FEATURES})
target_compile_features(${STATIC_LIB} PUBLIC ${REQUIRED_FEATURES})

if(NOT CMAKE_VERSION VERSION_LESS 2.8.11)
target_include_directories(${STATIC_LIB} PUBLIC
Expand Down

0 comments on commit bf0cfa5

Please sign in to comment.