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