Skip to content

Commit

Permalink
hwy: remove unnecessary lines from CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Boxer authored and osamu620 committed Sep 24, 2021
1 parent edf22f0 commit 557095b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions source/thirdparty/highway/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,6 @@ set(HWY_WARNINGS_ARE_ERRORS OFF CACHE BOOL "Add -Werror flag?")
set(HWY_EXAMPLES_TESTS_INSTALL ON CACHE BOOL "Build examples, tests, install?")

include(CheckCXXSourceCompiles)
check_cxx_source_compiles(
"int main() {
#if !defined(__EMSCRIPTEN__)
static_assert(false, \"__EMSCRIPTEN__ is not defined\");
#endif
return 0;
}"
HWY_EMSCRIPTEN
)

set(HWY_CONTRIB_SOURCES
hwy/contrib/dot/dot-inl.h
hwy/contrib/image/image.cc
hwy/contrib/image/image.h
hwy/contrib/math/math-inl.h
hwy/contrib/sort/sort-inl.h
)

set(HWY_SOURCES
hwy/aligned_allocator.cc
Expand All @@ -92,12 +75,6 @@ set(HWY_SOURCES
hwy/targets.h
)

set(HWY_TEST_SOURCES
hwy/tests/hwy_gtest.h
hwy/tests/test_util-inl.h
hwy/tests/test_util.cc
hwy/tests/test_util.h
)

if (MSVC)
# TODO(janwas): add flags
Expand Down

0 comments on commit 557095b

Please sign in to comment.