Spaces:
Running
Running
Download cpp/utils/CMakeLists.txt from Riz0030/DeepMosaics: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/Riz0030/DeepMosaics/resolve/main/cpp/utils/CMakeLists.txt
- Command line
-
hf download hf://spaces/Riz0030/DeepMosaics/cpp/utils/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/spaces/Riz0030/DeepMosaics/resolve/main/cpp/utils/CMakeLists.txt
365 Bytes
| # Set the project name | |
| project (utils) | |
| aux_source_directory(./src DIR_LIB_SRCS) | |
| add_library(${PROJECT_NAME} SHARED ${DIR_LIB_SRCS}) | |
| # 添加.h文件查找路径 | |
| target_include_directories( ${PROJECT_NAME} | |
| PUBLIC ${PROJECT_SOURCE_DIR}/include | |
| ) | |
| # 添加掉用的第三方库 | |
| target_link_libraries( "${PROJECT_NAME}" | |
| "${OpenCV_LIBS}") |