Skip to content

Commit

Permalink
Link tvm.spec to icu, also remove unneeded includes
Browse files Browse the repository at this point in the history
* Required for unicode headers to be available on macos
  • Loading branch information
ddavness committed Mar 21, 2024
1 parent 638d71e commit 9747d1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion libtvm/symbol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "libtvm/transition_matchable.hpp"

#include <unicode/uchar.h>
#include <map>
#include <ostream>

namespace tvm {
Expand Down
2 changes: 0 additions & 2 deletions tvm.spec/01-symbol.spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#include <doctest/doctest.h>
#include <unicode/unistr.h>
#include <iostream>
#include <string>

TEST_SUITE("01 - Manipulating symbols") {
const UChar blank = '_';
Expand Down
3 changes: 3 additions & 0 deletions tvm.spec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ add_executable(
tvm.spec.cpp
)

find_package(ICU REQUIRED COMPONENTS uc)
find_package(doctest REQUIRED)

target_link_libraries(tvm_spec PRIVATE doctest::doctest)
target_link_libraries(tvm_spec PRIVATE ICU::uc)
target_link_libraries(tvm_spec PRIVATE libtvm)

0 comments on commit 9747d1b

Please sign in to comment.