Commit 75b600e1 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr

Install settings.conf if file not yet installed.

parent 266fd227
......@@ -86,4 +86,14 @@ INCLUDE_DIRECTORIES(${GEPETTO_VIEWER_CORBA_INCLUDE_DIRS})
ADD_SUBDIRECTORY(plugins)
ADD_SUBDIRECTORY(pyplugins)
# If settings.conf not yet installed, install it
IF (EXISTS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui/settings.conf")
MESSAGE (STATUS
"File ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui/settings.conf detected.")
ELSE ()
MESSAGE (STATUS "File ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui/settings.conf does not exist. Will install it.")
INSTALL (FILES etc/gepetto-gui/settings.conf
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui)
ENDIF ()
SETUP_PROJECT_FINALIZE()
[plugins]
hppcorbaserverplugin.so=false
hppmanipulationplugin.so=false
hppmanipulationwidgetsplugin.so=true
hppmonitoringplugin.so=true
hppwidgetsplugin.so=false
libhppmanipulationplugin.so=false
libhppmonitoringplugin.so=false
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment