You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 289B

123456789
  1. SET(XXHASHSRC xxhash.c xxh_x86dispatch.c)
  2. ADD_LIBRARY(xxhash STATIC ${XXHASHSRC})
  3. IF(ENABLE_FULL_DEBUG MATCHES "OFF")
  4. if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
  5. SET_TARGET_PROPERTIES(xxhash PROPERTIES COMPILE_FLAGS "-O3")
  6. endif ()
  7. ENDIF()