From 46e84359cb8edf075d56a2fdf36ae797afabc8a3 Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Mon, 1 Jul 2013 17:16:31 +0200 Subject: [PATCH] cmake: Fix cofigure_file for __init__.py --- src/python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt index 607f783..a699715 100644 --- a/src/python/CMakeLists.txt +++ b/src/python/CMakeLists.txt @@ -10,7 +10,7 @@ set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-strict-aliasing") set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing") IF (${CMAKE_VERSION} VERSION_LESS "2.8.0") - CONFIGURE_FILE(__init__.py ./createrepo_c/__init__.py COPYONLY) + CONFIGURE_FILE(__init__.py "src/python/createrepo_c/__init__.py" COPYONLY) ELSE() FILE(COPY __init__.py DESTINATION ./createrepo_c/) ENDIF() -- 2.7.4