From 06a604c910ff9e01660a27bc59a10588e6fb4092 Mon Sep 17 00:00:00 2001 From: Jonatan Liljedahl Date: Thu, 26 Jan 2012 13:14:48 +0100 Subject: [PATCH] Move configured SCVersion.sc -> SCVersion/SCVersion.sc This way, /SCVersion/ can be included by langConfig to get the correct version for people using langConfig to run the class library from the source tree instead of the installed one. (cherry picked from commit da8a3c9210379507eccdcff22426e77d65148a2d) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5b3fcb00..1dc4f6ac5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -350,8 +350,8 @@ else() ) endif() -configure_file(platform/SCVersion.sc.in SCVersion.sc) -install(FILES "${CMAKE_BINARY_DIR}/SCVersion.sc" DESTINATION "${auxresourcesdir}/SCClassLibrary") +configure_file(platform/SCVersion.sc.in SCVersion/SCVersion.sc) +install(DIRECTORY "${CMAKE_BINARY_DIR}/SCVersion" DESTINATION "${auxresourcesdir}/SCClassLibrary") install(DIRECTORY sounds DESTINATION ${auxresourcesdir} -- 2.11.4.GIT