Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2013-08-13 18:55:14 +0400
committerJason Perkins <starkos@industriousone.com>2013-08-13 18:55:14 +0400
commita4b4168b7415c472b7f0008dec994045573bd4b6 (patch)
tree3e942583861017ec6176f3f1477de050174cd2ad /src
parent4b659ec54c38a1790de6078ae02d60d6d9ed0226 (diff)
Fix detection of PCH files when include paths are used
Diffstat (limited to 'src')
-rw-r--r--src/actions/make/make_cpp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/make/make_cpp.lua b/src/actions/make/make_cpp.lua
index 479e36d..8204f1e 100644
--- a/src/actions/make/make_cpp.lua
+++ b/src/actions/make/make_cpp.lua
@@ -312,8 +312,8 @@
end
end
- _p(' PCH = %s', _MAKE.esc(path.getrelative(cfg.location, cfg.pchheader)))
- _p(' GCH = $(OBJDIR)/$(notdir $(PCH)).gch', _MAKE.esc(path.getname(cfg.pchheader)))
+ _p(' PCH = %s', _MAKE.esc(path.getrelative(cfg.location, pch)))
+ _p(' GCH = $(OBJDIR)/$(notdir $(PCH)).gch')
end