Skip to content

Commit a99ba6b

Browse files
committed
fixing build when using external libtokamap
1 parent a734654 commit a99ba6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ if( FETCH_LIBTOKAMAP )
6565
)
6666

6767
FetchContent_MakeAvailable( libtokamap )
68+
else()
69+
add_clang_format_target()
6870
endif()
6971

7072
find_package( UDA REQUIRED )

mapping_plugin/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
find_package( UDA 2.7.0 REQUIRED )
99
find_package( Boost REQUIRED )
10+
find_package( libtokamap REQUIRED )
1011

1112
set( SOURCES
1213
src/uda_data_source.cpp
@@ -26,12 +27,9 @@ add_library( libtokamap_uda_extension ${SOURCES} )
2627
target_include_directories( libtokamap_uda_extension PRIVATE
2728
${CMAKE_CURRENT_LIST_DIR}/src
2829
${CMAKE_CURRENT_LIST_DIR}/ext_include
29-
${CMAKE_SOURCE_DIR}/libtokamap/src
3030
)
3131
target_link_libraries( libtokamap_uda_extension PRIVATE Boost::boost LibTokaMap::libtokamap )
3232

33-
find_package( Boost REQUIRED )
34-
3533
set( EXTRA_DEFINITIONS )
3634
if( ENABLE_PROFILING )
3735
list( APPEND EXTRA_DEFINITIONS -DENABLE_PROFILING )

0 commit comments

Comments
 (0)