You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
343 B
15 lines
343 B
cmake_minimum_required(VERSION 3.25)
|
|
list(INSERT CMAKE_PREFIX_PATH 0 "/tmp/test/lib/cmake/mylib")
|
|
list(INSERT CMAKE_PREFIX_PATH 0 "/tmp/test/lib/cmake/kut")
|
|
project(removeme)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
find_package(mylib 2.0 REQUIRED)
|
|
|
|
add_executable(removeme main.cpp)
|
|
|
|
target_link_libraries(removeme
|
|
PRIVATE mylib::mylib
|
|
)
|