CMake Warning at /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/Platform/Darwin-Initialize.cmake:131 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
because the directory does not exist.
맥 OS 업데이트 이후에 위와 같은 에러와 함께 빌드가 되지 않음. 해결방안을 찾던 도중 링크에서 나와 같은 문제를 겪고 있는 사람을 발견함. 그냥 git clean -xdf
했더니 된다고 함. 나도 되네.
git clean
:untracked files
을 삭제해주는 명령어. 그냥 실행하면 옵션 안붙였다고 실행 안됨git clean -f
: 강제로 지우기. 파일만 지운다. 디렉토리는 안지움git clean -df
: 디렉토리도 같이 지운다.git clean -xdf
:.gitignore
로 무시하는 것도 같이 다 지운다.