Disable Python scripts on Windows

refs #7243
This commit is contained in:
Gunnar Beutner 2014-10-01 23:51:43 +01:00
parent 2295835e23
commit a68bfea737

View File

@ -15,6 +15,7 @@
# along with this program; if not, write to the Free Software Foundation # along with this program; if not, write to the Free Software Foundation
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
if(NOT WIN32)
find_package(PythonInterp REQUIRED) find_package(PythonInterp REQUIRED)
add_subdirectory(icinga2) add_subdirectory(icinga2)
@ -41,3 +42,4 @@ install(CODE "
\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/icinga2-list-objects \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/icinga2-list-objects
)" )"
) )
endif()