Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake_project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ function m.generate(prj)
if #includedirs > 0 then
_p(0, 'target_include_directories("%s" PRIVATE', prj.name)
for _, dir in ipairs(includedirs) do
_p(1, '%s', dir)
_p(1, '${CMAKE_CURRENT_SOURCE_DIR}/%s', path.getrelative(prj.workspace.location, dir))
Comment thread
alex-rass-88 marked this conversation as resolved.
end
_p(0, ')')
end
Expand Down