mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 18:13:47 +00:00
added libraries: opus flac libsndfile updated: libvorbis libogg openal - Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
14 lines
711 B
CMake
14 lines
711 B
CMake
macro(CHECK_A64NEON VARIABLE)
|
|
if(NOT DEFINED HAVE_${VARIABLE})
|
|
message(STATUS "Check whether A64 NEON can be used")
|
|
configure_file(${PROJECT_SOURCE_DIR}/cmake/CheckA64NEON.c.in ${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckA64NEON.c @ONLY)
|
|
try_compile(HAVE_${VARIABLE} "${PROJECT_BINARY_DIR}"
|
|
"${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckA64NEON.c")
|
|
if(HAVE_${VARIABLE})
|
|
message(STATUS "Check whether A64 NEON can be used - yes")
|
|
set(${VARIABLE} 1 CACHE INTERNAL "Result of CHECK_A64NEON" FORCE)
|
|
else ()
|
|
message(STATUS "Check whether A64 NEON can be used - no")
|
|
endif()
|
|
endif ()
|
|
endmacro(CHECK_A64NEON)
|