mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Make krazy2 build target optional if krazy is installed.
This commit is contained in:
parent
3052506d31
commit
59f821f728
1 changed files with 5 additions and 1 deletions
|
@ -180,9 +180,13 @@ if(BUILD_OWNCLOUD_OSX_BUNDLE)
|
|||
install_qt4_executable(${OWNCLOUD_OSX_BUNDLE} "" "${OWNCLOUD_OSX_BUNDLE}/Contents/Plugins/csync_owncloud.so" ${dirs})
|
||||
endif()
|
||||
|
||||
find_program(KRAZY2_EXECUTABLE krazy2)
|
||||
if(KRAZY2_EXECUTABLE)
|
||||
# s/y k/y ALL k/ for building this target always
|
||||
add_custom_target( krazy ALL krazy2 --check-sets c++,qt4,foss
|
||||
add_custom_target( krazy krazy2 --check-sets c++,qt4,foss
|
||||
${PROJECT_SOURCE_DIR}/src/mirall/*.ui
|
||||
${PROJECT_SOURCE_DIR}/src/mirall/*.h
|
||||
${PROJECT_SOURCE_DIR}/src/mirall/*.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue