intel / ARM_NEON_2_x86_SSE

The platform independent header allowing to compile any C/C++ code containing ARM NEON intrinsic functions for x86 target systems using SIMD up to AVX2 intrinsic functions
Other
430 stars 149 forks source link

Fix cmake languages #62

Closed jameshilliard closed 1 year ago

jameshilliard commented 1 year ago

When no language is set cmake defaults to C and CXX, since we support C by itself we should set the project language to C so that we don't get a compiler error when building without a CXX toolchain.

Fixes:

CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
Zvictoria commented 1 year ago

Thanks!