Путь к автогенерируемым заголовочным файлам

This commit is contained in:
Andrei Astafev 2019-05-31 14:44:11 +03:00
parent f0d887e488
commit 849f05a665

View File

@ -34,7 +34,7 @@ function(common_target_properties Name)
target_include_directories(
${Name}
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}_autogen/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}_autogen/include>
)
endif()
endif()