Skip to content

Commit

Permalink
Try with PUBLIC
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Jan 5, 2024
1 parent 35b3935 commit 5428218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osmpbf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ install(TARGETS osmpbf ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
add_library(osmpbf_shared SHARED ${CPPS})
#set_property(TARGET osmpbf_shared PROPERTY CXX_STANDARD 11)
target_compile_features(osmpbf_shared PUBLIC cxx_std_11)
target_link_libraries(osmpbf_shared PRIVATE protobuf::libprotobuf)
target_link_libraries(osmpbf_shared PUBLIC protobuf::libprotobuf)
target_include_directories(osmpbf_shared SYSTEM PUBLIC ${Protobuf_INCLUDE_DIRS})
set_target_properties(osmpbf_shared PROPERTIES OUTPUT_NAME osmpbf
VERSION ${PROJECT_VERSION}
Expand Down

0 comments on commit 5428218

Please sign in to comment.