mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
The backtraces for some of the commands incorrectly come from the target's directory instead of the caller's directory. Expect the incorrect backtraces in test results for now. Increase the minimum required version of CMake in the test case to enable policy CMP0079 to support cross-directory calls. Issue: #23873
5 lines
212 B
CMake
5 lines
212 B
CMake
target_compile_definitions(c_subdir PRIVATE SUBDIR)
|
|
target_include_directories(c_subdir PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_link_libraries(c_subdir PRIVATE c_lib)
|
|
target_sources(c_subdir PRIVATE empty.c)
|