Skip to content

Commit

Permalink
something else
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Jan 7, 2024
1 parent 576b5c7 commit 49d9509
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions osmpbf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ target_include_directories(osmpbf SYSTEM PUBLIC ${Protobuf_INCLUDE_DIRS})
install(TARGETS osmpbf ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})

protobuf_generate(LANGUAGE cpp
APPEND_PATH
TARGET osmpbf
PROTOS fileformat.proto osmformat.proto)

Expand All @@ -21,6 +22,7 @@ set_target_properties(osmpbf_shared PROPERTIES OUTPUT_NAME osmpbf
install(TARGETS osmpbf_shared LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})

protobuf_generate(LANGUAGE cpp
APPEND_PATH
TARGET osmpbf_shared
PROTOS fileformat.proto osmformat.proto)

Expand Down
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64)

add_executable(osmpbf-outline osmpbf-outline.cpp)

target_include_directories(osmpbf-outline SYSTEM PRIVATE ${ZLIB_INCLUDE_DIR} ${Protobuf_INCLUDE_DIRS})
target_include_directories(osmpbf-outline SYSTEM PRIVATE ${ZLIB_INCLUDE_DIR})
target_link_libraries(osmpbf-outline PRIVATE osmpbf ZLIB::ZLIB)
set_property(TARGET osmpbf-outline PROPERTY CXX_STANDARD 11)

Expand Down

0 comments on commit 49d9509

Please sign in to comment.