mirror of https://github.com/rd235/cado
check if in debian package before PostInstall
This commit is contained in:
parent
28e4c7054d
commit
d9082075ba
|
@ -34,11 +34,13 @@ install(
|
|||
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
install(
|
||||
if(NOT DEBUILD)
|
||||
install(
|
||||
CODE "execute_process(
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-DBINDIR=${CMAKE_INSTALL_FULL_BINDIR}
|
||||
-DLIBDIR=${CMAKE_INSTALL_FULL_LIBDIR}
|
||||
-P ${PROJECT_SOURCE_DIR}/PostInstall.cmake
|
||||
)"
|
||||
)
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue