Skip to content

Commit 604234c

Browse files
jangmin-deepxjangmin-deepx
andauthored
fix(CMakeLists.txt): Add BUILD_DEPS, change ortools's GIT_TAG main -> v9.0 (#36)
for c17 support and build deps for whom doesn't have Co-authored-by: jangmin-deepx <jangmin@deepx-local-gpu.deepx.wifi>
1 parent e1ffe38 commit 604234c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project(mlir-tutorial LANGUAGES CXX C)
44

55
set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to conform to")
66
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
7+
set(BUILD_DEPS ON)
78

89
find_package(MLIR REQUIRED CONFIG)
910

@@ -28,7 +29,7 @@ include(FetchContent)
2829
FetchContent_Declare(
2930
or-tools
3031
GIT_REPOSITORY https://github.com/google/or-tools.git
31-
GIT_TAG main
32+
GIT_TAG v9.0
3233
)
3334
FetchContent_MakeAvailable(or-tools)
3435
message(STATUS "Done fetching or-tools")

0 commit comments

Comments
 (0)