summaryrefslogtreecommitdiffstats
path: root/Tests/Module/FindDependency/CMakeLists.txt
blob: dcb998a4b369b88d587f36787dcb1deec1783c4b (plain)
1
2
3
4
5
6
7
8
9
10
11

cmake_minimum_required(VERSION 3.0)
project(FindDependency)

set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/packages")

find_package(Pack1 REQUIRED)
find_package(Pack4 4.3 EXACT REQUIRED)

add_executable(FindDependency main.cpp)
target_link_libraries(FindDependency Pack1::Lib Pack4::Lib)