mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-17 06:37:43 -05:00
* add support for source subdirectories * style fixes * remove debug log * grammar fix in comment
18 lines
348 B
Plaintext
18 lines
348 B
Plaintext
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
|
|
|
|
project(CPMTest)
|
|
|
|
# ---- Dependencies ----
|
|
|
|
include(@CPM_PATH@/CPM.cmake)
|
|
|
|
CPMAddPackage(
|
|
NAME Dependency
|
|
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/dependency
|
|
SOURCE_SUBDIR inner
|
|
)
|
|
|
|
# ---- Call inner dependency method to validate correct addition of subdirectory ----
|
|
|
|
inner_dependency_function()
|