| 1 |
cmake_minimum_required(VERSION 3.10) |
| 2 |
|
| 3 |
project(SampleProject) |
| 4 |
|
| 5 |
find_package(colmap REQUIRED) |
| 6 |
# or to require a specific version: find_package(colmap 3.4 REQUIRED) |
| 7 |
|
| 8 |
add_executable(hello_world hello_world.cc) |
| 9 |
target_link_libraries(hello_world colmap::colmap) |