From 0292b001cc67ac7431c08dc71fb58884356c3e5e Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Fri, 17 Jul 2015 11:23:52 +0200 Subject: [PATCH] fix rel_cmake_module_path on windows --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index c5921e2..0957366 100755 --- a/update.py +++ b/update.py @@ -184,7 +184,7 @@ def gen_cmakelists(config, relative_path, modules): for directory in set([module.path for module in modules]): rel_cmake_module_path = os.path.join(relative_path, directory) # on windows cmake corrects this so we have to make it wrong again - rel_cmake_module_path.replace('\\', '/') + rel_cmake_module_path = rel_cmake_module_path.replace('\\', '/') s.append('set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/%s)' % rel_cmake_module_path) s.append('\n# included cmake modules')