Commit 6118f4b3 authored by Ludovic Fauvet's avatar Ludovic Fauvet

cmake: use standard and safe paths

parent 26ca1d6c
......@@ -80,9 +80,10 @@ SET (VLMC_INCLUDE_SUBDIR ${DEFAULT_INCLUDE_SUBDIR} CACHE STRING "Subdirectory wh
# full paths for the installation
SET (VLMC_BIN_DIR ${VLMC_BIN_SUBDIR})
SET (VLMC_LIB_DIR ${VLMC_LIB_SUBDIR})
SET (VLMC_DATA_DIR ${VLMC_DATA_SUBDIR})
SET (VLMC_PLUGIN_DIR ${VLMC_PLUGIN_SUBDIR})
SET (VLMC_INCLUDE_DIR ${VLMC_INCLUDE_SUBDIR})
SET (VLMC_DATA_DIR ${VLMC_DATA_SUBDIR})
SET (VLMC_EFFECTS_DIR ${VLMC_LIB_SUBDIR}/vlmc/effects/)
SET (VLMC_DOC_DIR ${VLMC_DATA_SUBDIR}/doc/vlmc/)
# manual page - makes sense only on unix systems
IF (UNIX)
......@@ -98,7 +99,7 @@ SUBDIRS(src)
#Copy stuff to doc subdirectory
INSTALL (FILES AUTHORS COPYING INSTALL NEWS README TRANSLATORS
DESTINATION ${VLMC_DATA_DIR}/doc)
DESTINATION ${VLMC_DOC_DIR})
#############################################################
# Enable packaging
......
......@@ -28,4 +28,4 @@ ADD_DEPENDENCIES(BlitInRectangleEffectPlugin vlmc)
TARGET_LINK_LIBRARIES(BlitInRectangleEffectPlugin ${QT_LIBRARIES})
INSTALL(TARGETS BlitInRectangleEffectPlugin LIBRARY DESTINATION ${VLMC_LIB_DIR})
INSTALL(TARGETS BlitInRectangleEffectPlugin LIBRARY DESTINATION ${VLMC_EFFECTS_DIR})
......@@ -28,4 +28,4 @@ ADD_DEPENDENCIES(GreenFilterEffectPlugin vlmc)
TARGET_LINK_LIBRARIES(GreenFilterEffectPlugin ${QT_LIBRARIES})
INSTALL(TARGETS GreenFilterEffectPlugin LIBRARY DESTINATION ${VLMC_LIB_DIR})
INSTALL(TARGETS GreenFilterEffectPlugin LIBRARY DESTINATION ${VLMC_EFFECTS_DIR})
......@@ -28,4 +28,4 @@ ADD_DEPENDENCIES(InvertRNBEffectPlugin vlmc)
TARGET_LINK_LIBRARIES(InvertRNBEffectPlugin ${QT_LIBRARIES})
INSTALL(TARGETS InvertRNBEffectPlugin LIBRARY DESTINATION ${VLMC_LIB_DIR})
INSTALL(TARGETS InvertRNBEffectPlugin LIBRARY DESTINATION ${VLMC_EFFECTS_DIR})
......@@ -28,4 +28,4 @@ ADD_DEPENDENCIES(MixerEffectPlugin vlmc)
TARGET_LINK_LIBRARIES(MixerEffectPlugin ${QT_LIBRARIES})
INSTALL(TARGETS MixerEffectPlugin LIBRARY DESTINATION ${VLMC_LIB_DIR})
INSTALL(TARGETS MixerEffectPlugin LIBRARY DESTINATION ${VLMC_EFFECTS_DIR})
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