mirror of https://github.com/Icinga/icinga2.git
parent
1c199e3edb
commit
301455db97
|
@ -26,7 +26,7 @@ function(install_if_not_exists src dest)
|
||||||
string(REPLACE "/" "\\\\" nsis_dest_dir "${real_dest}")
|
string(REPLACE "/" "\\\\" nsis_dest_dir "${real_dest}")
|
||||||
string(REPLACE "/" "\\\\" nsis_dest "${real_dest}/${basename_dest}")
|
string(REPLACE "/" "\\\\" nsis_dest "${real_dest}/${basename_dest}")
|
||||||
install(CODE "
|
install(CODE "
|
||||||
if(\${CMAKE_INSTALL_PREFIX} MATCHES .*/_CPack_Packages/.* OR NOT EXISTS \"\$ENV{DESTDIR}${dest}/${src_name}\")
|
if(\${CMAKE_INSTALL_PREFIX} MATCHES .*/_CPack_Packages/.* OR NOT EXISTS \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${skel_prefix}${dest}/${src_name}\")
|
||||||
message(STATUS \"Installing: \$ENV{DESTDIR}${dest}/${src_name}\")
|
message(STATUS \"Installing: \$ENV{DESTDIR}${dest}/${src_name}\")
|
||||||
if(\${CMAKE_INSTALL_PREFIX} MATCHES .*/_CPack_Packages/.*)
|
if(\${CMAKE_INSTALL_PREFIX} MATCHES .*/_CPack_Packages/.*)
|
||||||
set(skel_prefix \"share/skel/\")
|
set(skel_prefix \"share/skel/\")
|
||||||
|
|
Loading…
Reference in New Issue