Skip to content

Commit 549a401

Browse files
Update CMakeLists.txt; Change torch dependency default (#70)
1 parent 6c3387e commit 549a401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ option(GUROBI_ROOT "Path to Gurobi installation" "")
4040
set(GUROBI_ROOT $ENV{HOME}/.local/lib/gurobi1103/linux64)
4141

4242
# LibTorch Configuration
43-
option(CDDP_CPP_TORCH "Whether to use LibTorch" ON)
44-
option(CDDP_CPP_TORCH_GPU "Whether to use GPU support in LibTorch" ON)
43+
option(CDDP_CPP_TORCH "Whether to use LibTorch" OFF)
44+
option(CDDP_CPP_TORCH_GPU "Whether to use GPU support in LibTorch" OFF)
4545
set(LIBTORCH_DIR $ENV{HOME}/.local/lib/libtorch CACHE PATH "Path to local LibTorch installation") # FIXME: Change this to your local LibTorch installation directory
4646

4747
# Python Configuration

0 commit comments

Comments
 (0)