it is moved to the end of the command line
@@ -445,7 +445,7 @@ conan_basic_setup()
self.assertNotIn("Conan: Adjusting fPIC flag", client.out)
def header_only_generator_test(self):
- """ Test cmake.install() is possible although Generator could not be deduced from
+ """ Test cmake.install() is possible although Generetaor could not be deduced from
settings
"""
conanfile = dedent("""
@@ -474,7 +474,8 @@ conan_basic_setup()
client.run("create . danimtb/testing")
if platform.system() == "Windows":
self.assertIn("WARN: CMake generator could not be deduced from settings", client.out)
- self.assertIn('Configure command: -DCMAKE_INSTALL_PREFIX=', client.out)
+ self.assertIn('Configure command: -DCONAN_IN_LOCAL_CACHE="ON" '
+ '-DCMAKE_INSTALL_PREFIX=', client.out)
else:
self.assertIn('Configure command: -G "Unix Makefiles" '
- '-DCMAKE_INSTALL_PREFIX=', client.out)
+ '-DCONAN_IN_LOCAL_CACHE="ON" -DCMAKE_INSTALL_PREFIX=', client.out)
