Skip to content

Commit 7eefde6

Browse files
committed
fixing CI build
1 parent d1d2f6f commit 7eefde6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Configure CMake
4343
run: >
44-
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=${{ matrix.release }}
44+
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=${{ matrix.release }} -DENABLE_TESTING=ON
4545
4646
- name: Build
4747
run: cmake --build build --config ${{ matrix.release }}

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,9 @@ if( ENABLE_TESTING )
5252
enable_testing()
5353
endif()
5454

55+
find_package( UDA QUIET )
56+
5557
add_subdirectory( libtokamap )
56-
add_subdirectory( mapping_plugin )
58+
if( UDA_FOUND )
59+
add_subdirectory( mapping_plugin )
60+
endif()

0 commit comments

Comments
 (0)