From 2430582e9048867e6a26b1d0e96cc3cb890a5a73 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 12 Feb 2020 07:54:33 -0600 Subject: [PATCH] Destination for file() is always a directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Renà --- cmake-proxies/lv2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-proxies/lv2/CMakeLists.txt b/cmake-proxies/lv2/CMakeLists.txt index fe94139d3..653dc9191 100644 --- a/cmake-proxies/lv2/CMakeLists.txt +++ b/cmake-proxies/lv2/CMakeLists.txt @@ -123,7 +123,7 @@ set( stamp "${_INTDIR}/.stamp.lv2" ) # Simulate the older directory structure (trailing "/" is important) file( MAKE_DIRECTORY "${ns}" ) -file( COPY "${src}/lv2/core/lv2.h" DESTINATION "${dst}/lv2.h" ) +file( COPY "${src}/lv2/core/lv2.h" DESTINATION "${dst}" ) file( COPY "${src}/lv2/" DESTINATION "${ns}/ext" ) file( COPY "${src}/lv2/" DESTINATION "${ns}/extensions" ) file( COPY "${src}/lv2/core/" DESTINATION "${ns}/lv2core" )