Skip to content

Commit

Permalink
fix(CMakeLists.txt): Add BUILD_DEPS, change ortools's GIT_TAG main ->…
Browse files Browse the repository at this point in the history
… v9.0

for c17 support and build deps for whom doesn't have
  • Loading branch information
jangmin-deepx committed Dec 27, 2023
1 parent ef34b4d commit 07b282a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ project(mlir-tutorial LANGUAGES CXX C)

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

find_package(MLIR REQUIRED CONFIG)

Expand All @@ -28,7 +29,7 @@ include(FetchContent)
FetchContent_Declare(
or-tools
GIT_REPOSITORY https://github.com/google/or-tools.git
GIT_TAG main
GIT_TAG v9.0
)
FetchContent_MakeAvailable(or-tools)
message(STATUS "Done fetching or-tools")
Expand Down

0 comments on commit 07b282a

Please sign in to comment.