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).

wilder
Stas Verberkt 15 years ago
parent 7ffe80dfb0
commit 5746337d55
  1. 10
      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})

Loading…
Cancel
Save