Skip to content

Commit

Permalink
Specify GTest root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Oct 30, 2017
1 parent 8c16c51 commit dbbc2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.py
Expand Up @@ -25,7 +25,7 @@ class Funhpc(CMakePackage):

def cmake_args(self):
spec = self.spec
options = []
options = ["-DGTEST_ROOT=%s" % spec['gtest'].prefix]
if '+pic' in spec:
options.extend(["-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true"])
return options
Expand Down

0 comments on commit dbbc2ac

Please sign in to comment.