mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
510fdcb188
Setting include directories or compile definitions on a target created with add_custom_target does not make sense.
7 lines
123 B
CMake
7 lines
123 B
CMake
|
|
add_custom_target(check ALL
|
|
COMMAND ${CMAKE_COMMAND} -E echo check
|
|
)
|
|
|
|
target_include_directories(check PRIVATE somedir)
|