We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa15525 commit b865ccbCopy full SHA for b865ccb
development/module/premake5.lua
@@ -5,7 +5,7 @@ PROJECT_GENERATOR_VERSION = 3
5
newoption({
6
trigger = "gmcommon",
7
description = "Sets the path to the garrysmod_common (https://github.com/danielga/garrysmod_common) directory",
8
- default = "../../../fork-garrysmod_common"
+ default = io.open("../../../fork-garrysmod_common/license.txt", "r") and "../../../fork-garrysmod_common" or "../garrysmod_common"
9
})
10
11
local gmcommon = assert(_OPTIONS.gmcommon or os.getenv("GARRYSMOD_COMMON"),
0 commit comments