Changeset - 1401e970a75f
[Not reviewed]
0 1 0
Vitaly Takmazov - 9 years ago 2016-06-01 16:18:56
vitalyster@gmail.com
check spectrum2_manager.cfg existence in DESTDIR before install
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spectrum_manager/src/CMakeLists.txt
Show inline comments
 
@@ -27,7 +27,7 @@ INSTALL(TARGETS spectrum2_manager RUNTIME DESTINATION bin)
 
# ENDIF()
 

	
 
install(CODE "
 
if (NOT EXISTS \"/etc/spectrum2/spectrum_manager.cfg\")
 
if (NOT EXISTS \"$ENV{DESTDIR}/etc/spectrum2/spectrum_manager.cfg\")
 
file(INSTALL DESTINATION \"/etc/spectrum2\" TYPE FILES \"${CMAKE_CURRENT_SOURCE_DIR}/spectrum_manager.cfg\")
 
endif()
 
")
0 comments (0 inline, 0 general)