Skip to content

Commit

Permalink
Fix expression test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Oct 3, 2024
1 parent 701a4db commit 7b56b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion expression-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ target_link_libraries(
Mapbox::Base::Extras::args
mbgl-core
mbgl-compiler-options
$<IF:$<TARGET_EXISTS:libuv::uv_a>,libuv::uv_a,libuv::uv>
)

set_property(TARGET mbgl-expression-test PROPERTY FOLDER MapLibre)
Expand Down
6 changes: 6 additions & 0 deletions platform/windows/windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ target_link_libraries(
$<IF:$<TARGET_EXISTS:libuv::uv_a>,libuv::uv_a,libuv::uv>
)

target_link_libraries(
mbgl-expression-test
PRIVATE
$<IF:$<TARGET_EXISTS:libuv::uv_a>,libuv::uv_a,libuv::uv>
)

# Disable benchmarks in CI as they run in VM environment
if(NOT DEFINED ENV{CI})
add_test(NAME mbgl-benchmark-runner COMMAND mbgl-benchmark-runner WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
Expand Down

0 comments on commit 7b56b65

Please sign in to comment.