File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,13 @@ ExternalProject_Add(
9
9
extern_xxhash
10
10
${EXTERNAL_PROJECT_LOG_ARGS}
11
11
GIT_REPOSITORY "https://github.com/Cyan4973/xxHash"
12
- # eigen on cuda9.1 missing header of math_funtions.hpp
13
- # https://stackoverflow.com/questions/43113508/math-functions-hpp-not-found-when-using-cuda-with-eigen
14
12
GIT_TAG "v0.6.5"
15
13
PREFIX ${XXHASH_SOURCE_DIR}
16
14
DOWNLOAD_NAME "xxhash"
17
15
UPDATE_COMMAND ""
18
16
CONFIGURE_COMMAND ""
19
17
BUILD_IN_SOURCE 1
20
- PATCH_COMMAND
18
+ PATCH_COMMAND
21
19
BUILD_COMMAND make lib
22
20
INSTALL_COMMAND export PREFIX =${XXHASH_INSTALL_DIR}/ && make install
23
21
TEST_COMMAND ""
@@ -29,15 +27,6 @@ INCLUDE_DIRECTORIES(${XXHASH_INCLUDE_DIR})
29
27
30
28
add_library (xxhash STATIC IMPORTED GLOBAL )
31
29
set_property (TARGET xxhash PROPERTY IMPORTED_LOCATION ${XXHASH_LIBRARIES} )
32
- #if (${CMAKE_VERSION} VERSION_LESS "3.3.0")
33
- # set(dummyfile ${CMAKE_CURRENT_BINARY_DIR}/lib_xxhash_dummy.c)
34
- # file(WRITE ${dummyfile} "const char * dummy_any = \"${dummyfile}\";")
35
- # add_library(lib_xxhash STATIC ${dummyfile})
36
- #else()
37
- # add_library(lib_xxhash INTERFACE)
38
- #endif()
39
30
include_directories (${XXHASH_INCLUDE_DIR} )
40
31
add_dependencies (xxhash extern_xxhash )
41
- #LIST(APPEND external_project_dependencies xxhash)
42
- #link_libraries(${XXHASH_LIBRARIES})
43
32
You can’t perform that action at this time.
0 commit comments