[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdesrc-build] /
From:       Stas Verberkt <kde () legolasweb ! nl>
Date:       2011-01-23 9:00:22
Message-ID: 20110123090022.B75A6A6092 () git ! kde ! org
[Download RAW message or body]

Git commit 5746337d5550deabfec6a3cc618c8e6e710a1895 by Stas Verberkt
Pushed by sverberkt into branch master

Updated CMakeLists.txt so that kdesrc-build will install to binaries directory and \
the cmake file works under FreeBSD (/bin/true does not exist under FreeBSD).

M  +7    -3    CMakeLists.txt     

http://commits.kde.org/a5d5b61a/5746337d5550deabfec6a3cc618c8e6e710a1895

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed40f79..cf8cb51 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,10 @@ include(MacroLibrary)
 #macro_optional_add_subdirectory(doc)
 
 # Null install target so CMake succeeds
-add_custom_target(install
-    COMMAND /bin/true
-    )
+#add_custom_target(install
+#    COMMAND /bin/true
+#    )
+
+configure_file(kdesrc-build ${CMAKE_CURRENT_BINARY_DIR}/kdesrc-build  @ONLY)
+
+install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/kdesrc-build DESTINATION \
${BIN_INSTALL_DIR})


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic