cmake-tutorial icon indicating copy to clipboard operation
cmake-tutorial copied to clipboard

git tag error in CmakeLists.txt

Open goodboy-kor opened this issue 2 years ago • 0 comments

from https://github.com/pyk/cmake-tutorial#using-cmake-with-3rd-party-library

Third-party library

include(ExternalProject) ExternalProject_Add(googletest PREFIX "${CMAKE_BINARY_DIR}/lib" GIT_REPOSITORY "https://github.com/google/googletest.git" GIT_TAG "master" # It should be main not master CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/lib/installed )

it's right in file but wrong in README.md

goodboy-kor avatar Apr 04 '23 12:04 goodboy-kor