Commit 1e6c6981 authored by Ludovic Fauvet's avatar Ludovic Fauvet

cmake: copy the sh launcher at configure time

parent d6778cb5
......@@ -27,7 +27,7 @@ IF(WIN32)
SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE QT_NO_DEBUG)
ENDIF(WIN32)
# Optionally allow embedding libvlc into the binary as
# Optionally allow embedding libvlc into the binary as
# VLMC requires libVLC
SET (WITH_LIBVLC FALSE CACHE BOOL "Compile LibVLC in VLMC")
......@@ -49,6 +49,11 @@ ADD_DEFINITIONS(${QT_DEFINITIONS})
SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/effects)
# Copy the sh launcher
IF (NOT WIN32)
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/vlmc" "${CMAKE_CURRENT_BINARY_DIR}/vlmc" COPYONLY)
ENDIF(NOT WIN32)
# common for MAC and UNIX
SET (DEFAULT_BIN_SUBDIR bin)
SET (DEFAULT_LIB_SUBDIR lib)
......
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