mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
2295835e23
commit
a68bfea737
@ -15,13 +15,14 @@
|
||||
# along with this program; if not, write to the Free Software Foundation
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
find_package(PythonInterp REQUIRED)
|
||||
if(NOT WIN32)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
|
||||
add_subdirectory(icinga2)
|
||||
add_subdirectory(icinga2)
|
||||
|
||||
configure_file(setup.py.cmake ${CMAKE_CURRENT_BINARY_DIR}/setup.py @ONLY)
|
||||
configure_file(setup.py.cmake ${CMAKE_CURRENT_BINARY_DIR}/setup.py @ONLY)
|
||||
|
||||
install(CODE "
|
||||
install(CODE "
|
||||
execute_process(
|
||||
COMMAND \"${CMAKE_COMMAND}\"
|
||||
\"-DSETUP_PY=${CMAKE_CURRENT_BINARY_DIR}/setup.py\"
|
||||
@ -40,4 +41,5 @@ install(CODE "
|
||||
REMOVE
|
||||
\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/icinga2-list-objects
|
||||
)"
|
||||
)
|
||||
)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user