Skip to content

Commit

Permalink
Improve CMake helper in_local_cache assignation (conan-io#4024)
Browse files Browse the repository at this point in the history
  • Loading branch information
danimtb authored and jgsogo committed Nov 29, 2018
1 parent e58cd55 commit 5d81da7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conans/client/build/cmake_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,7 @@ def get_definitions(self):
ret.update(self._get_cpp_standard_vars())

ret["CONAN_EXPORTED"] = "1"
ret[cmake_in_local_cache_var_name] =\
in_local_cache_definition(self._conanfile.in_local_cache)[cmake_in_local_cache_var_name]
ret.update(in_local_cache_definition(self._conanfile.in_local_cache))

if compiler:
ret["CONAN_COMPILER"] = compiler
Expand Down

0 comments on commit 5d81da7

Please sign in to comment.