cmake: Fix cofigure_file for __init__.py
authorTomas Mlcoch <tmlcoch@redhat.com>
Mon, 1 Jul 2013 15:16:31 +0000 (17:16 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Mon, 1 Jul 2013 15:16:31 +0000 (17:16 +0200)
src/python/CMakeLists.txt

index 607f78381c0f9d5954203369b52d617d96b46cec..a699715869ce155beaea52191f75bc0320c7b1e0 100644 (file)
@@ -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()