File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,10 @@ SET(WARPCTC_LIB_DIR "${WARPCTC_INSTALL_DIR}/lib" CACHE PATH "Warp-ctc Library Di
24
24
25
25
IF (WIN32 )
26
26
SET (WARPCTC_LIBRARIES
27
- "${WARPCTC_INSTALL_DIR} /lib/warpctc.dll " CACHE FILEPATH "Warp-ctc Library" FORCE )
27
+ "${WARPCTC_INSTALL_DIR} /lib/warpctc.lib " CACHE FILEPATH "Warp-ctc Library" FORCE )
28
28
ELSE (WIN32 )
29
- IF (APPLE )
30
- SET (_warpctc_SHARED_SUFFIX dylib )
31
- ELSE (APPLE )
32
- SET (_warpctc_SHARED_SUFFIX so )
33
- ENDIF (APPLE )
34
-
35
29
SET (WARPCTC_LIBRARIES
36
- "${WARPCTC_INSTALL_DIR} /lib/libwarpctc.${_warpctc_SHARED_SUFFIX} " CACHE FILEPATH "Warp-ctc Library" FORCE )
30
+ "${WARPCTC_INSTALL_DIR} /lib/libwarpctc.a " CACHE FILEPATH "Warp-ctc Library" FORCE )
37
31
ENDIF (WIN32 )
38
32
39
33
IF (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" )
@@ -53,6 +47,7 @@ ExternalProject_Add(
53
47
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${WARPCTC_INSTALL_DIR}
54
48
CMAKE_ARGS -DWITH_GPU=${WITH_GPU}
55
49
CMAKE_ARGS -DWITH_OMP=${USE_OMP}
50
+ CMAKE_ARGS -DWITH_TORCH=OFF
56
51
CMAKE_ARGS -DBUILD_SHARED=OFF
57
52
)
58
53
You can’t perform that action at this time.
0 commit comments