From 604234cc25b8e7620e4c67f03c22d503a9423168 Mon Sep 17 00:00:00 2001 From: janmin <67268979+jangmin-deepx@users.noreply.github.com> Date: Sat, 30 Dec 2023 13:25:06 +0900 Subject: [PATCH] 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 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d3ca4c..ffffa3a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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")