mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
11 lines
228 B
CMake
11 lines
228 B
CMake
# Set the project name
|
|
project (sublibrary2)
|
|
|
|
add_library(${PROJECT_NAME} INTERFACE)
|
|
add_library(sub::lib2 ALIAS ${PROJECT_NAME})
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
INTERFACE
|
|
${PROJECT_SOURCE_DIR}/include
|
|
)
|