Skip to content

Commit

Permalink
Update FetchContent policy
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoGiane committed Apr 18, 2023
1 parent 7fc36bb commit 6c5058d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ find_package(OpenMP REQUIRED)
# Clone bayesmix-dev/math into lib/math
include(cmake/GitUtils.cmake)
git_clone(
PROJECT_NAME math
GIT_URL https://github.com/bayesmix-dev/math.git
GIT_BRANCH develop
DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/lib
PROJECT_NAME math
GIT_URL https://github.com/bayesmix-dev/math.git
GIT_BRANCH develop
DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/lib
)

# TBB CMake integration
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FetchContent_Declare(
googletest
# Specify the commit you depend on and update it regularly.
URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
Expand Down

0 comments on commit 6c5058d

Please sign in to comment.