1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-26 22:37:32 +08:00
Betsy McPhail f2ddedfa58 Tests: Update CMake tutorial
Latest material from data.kitware.com -> Collections -> Courses -> CMake.
2019-01-27 16:03:00 -05:00

8 lines
258 B
CMake

add_library(MathFunctions mysqrt.cxx)
# state that anybody linking to us needs to include the current source dir
# to find MathFunctions.h, while we don't.
target_include_directories(MathFunctions
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)