diff options
author | Oliver Schneider <oliver@assarbad.net> | 2014-01-08 03:05:09 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2014-01-08 03:05:09 +0400 |
commit | 85a1441a2f4a2ecb91e0d8d917c0888c802f192b (patch) | |
tree | 069dcef4410cbb7e758e36c3466d18434f83d380 /premake4.lua | |
parent | 1892267aab120e55292dc49e3a585e489b1f551a (diff) |
Fixing Issue #92
Diffstat (limited to 'premake4.lua')
-rw-r--r-- | premake4.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/premake4.lua b/premake4.lua index 7d9951a..d58a45b 100644 --- a/premake4.lua +++ b/premake4.lua @@ -98,9 +98,6 @@ newoption { trigger = "sdk71", description = "Applies to VS 2005 and 2008. If yo if _OPTIONS["resources"] then
print "INFO: Creating projects for resource DLLs."
end
-if _OPTIONS["sdk71"] then
- print "INFO: Assuming Windows 7 SP1 SDK is installed (#define SUPPORT_W7_TASKBAR)."
-end
solution ("windirstat")
configurations {"Debug", "Release"}
@@ -206,6 +203,9 @@ solution ("windirstat") if _OPTIONS["sdk71"] then
configuration {"vs2005 or vs2008"}
defines {"SUPPORT_W7_TASKBAR=1"}
+ if action == "vs2005" or action == "vs2008" then
+ print "INFO: Assuming Windows 7 SP1 SDK is installed (#define SUPPORT_W7_TASKBAR)."
+ end
end
if _OPTIONS["resources"] then
|