Skip to content

Commit 3430842

Browse files
committed
Update include path in Polygon loader
1 parent 1e4b435 commit 3430842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmscontrib/loaders/polygon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_task(self, get_statement=True):
183183
logger.info("Checker found, compiling")
184184
checker_exe = os.path.join(
185185
os.path.dirname(checker_src), "checker")
186-
testlib_path = "/usr/local/include/cms"
186+
testlib_path = os.path.join(config.base_dir, 'include')
187187
testlib_include = os.path.join(testlib_path, "testlib.h")
188188
code = subprocess.call(["g++", "-x", "c++", "-O2", "-static",
189189
"-DCMS", "-I", testlib_path,

0 commit comments

Comments
 (0)