티스토리 뷰
set(variable path)
변수(variable)에 파일 경로(path)를 정의하는 경우 파일 경로에 따라서 경로가 제대로 설정안되는 경우가 존재한다.
set(variable FILEPATH path)
이런 경우에 위와 같이 변수의 타입을 명시해주면 문제가 해결될 것이다.
cmake.org/cmake/help/latest/command/set.html
set — CMake 3.20.0-rc2 Documentation
Set a normal, cache, or environment variable to a given value. See the cmake-language(7) variables documentation for the scopes and interaction of normal variables and cache entries. Signatures of this command that specify a ... placeholder expect zero or
cmake.org
'CMake' 카테고리의 다른 글
CMake 실행 파일 생성 위치 정의 (0) | 2022.09.18 |
---|---|
[CMake] Generator 목록 확인 명령어 (0) | 2022.09.12 |
Modern Cmake tutorial 자료 (0) | 2022.08.31 |
[CMake] 빌드시 파일 복사 붙여넣기 (0) | 2022.06.12 |
[CMake] 지정된 파일을 찾을 수 없습니다 Generator (0) | 2021.02.26 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 인공지능을 위한 선형대수
- cosine
- 조합
- 파이참
- 문제집
- MOT
- 백트래킹
- 백준
- 위상 정렬 알고리즘
- 자료구조
- 단축키
- LCA
- 가장 긴 증가하는 부분 수열
- C++ Deploy
- 백준 11437
- 순열
- FairMOT
- PyCharm
- 백준 11053
- 이분탐색
- 백준 1766
- Lowest Common Ancestor
- ㅂ
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함