Skip to content

Commit ff45d93

Browse files
committed
fixes build system to work with updated scc and dbt-rise-core
1 parent 9d40aa8 commit ff45d93

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,12 @@ if(NOT TARGET dbt-rise-core)
2727
FetchContent_Declare(
2828
dbt_rise_core_git
2929
GIT_REPOSITORY "https://github.com/Minres/DBT-RISE-Core.git"
30-
GIT_TAG daa01b423360e7677a30d61f913cfa1bf09a1251
30+
GIT_TAG 50635c29
3131
GIT_SHALLOW OFF
3232
UPDATE_DISCONNECTED NOT ${UPDATE_EXTERNAL_PROJECT} # When enabled, this option causes the update step to be skipped.
3333
)
3434
FetchContent_GetProperties(dbt_rise_core_git)
35-
if(NOT dbt_rise_core_git_POPULATED)
36-
FetchContent_Populate(dbt_rise_core_git)
37-
endif()
38-
add_subdirectory(${dbt_rise_core_git_SOURCE_DIR} ${dbt_rise_core_git_BINARY_DIR})
35+
FetchContent_MakeAvailable(dbt_rise_core_git)
3936
endif()
4037
FetchContent_GetProperties(scc_git)
4138
list(APPEND CMAKE_MODULE_PATH ${scc_git_SOURCE_DIR}/cmake)

0 commit comments

Comments
 (0)