Changes in the build behaviour
This commit is contained in:
1 parent
63f7834ab6
commit
9e9302f8cd
3 files changed
+6
-1
No files matched your search
+6
-1
@@ -15,6 +15,7 @@ SET( PROJECT_NAME playuver )
|
||||
# Project directories
|
||||
SET( SRC_DIR source )
|
||||
SET( INC_DIR source )
|
||||
SET( LIB_DIR lib )
|
||||
SET( RSC_DIR resources )
|
||||
SET( UI_DIR ui )
|
||||
SET( EXTERNAL_SRC external_lib )
|
||||
@@ -198,7 +199,11 @@ IF( USE_FFMPEG )
|
||||
ELSE()
|
||||
SET( CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -D__STDC_CONSTANT_MACROS )
|
||||
INCLUDE_DIRECTORIES(${FFMPEG_INCLUDE_DIR} ${FFMPEG_INCLUDE_DIRS})
|
||||
SET( LINKER_LIBS ${LINKER_LIBS} ${FFMPEG_LIBRARIES} )
|
||||
INCLUDE_DIRECTORIES( ${LIB_DIR}/ffmpeg )
|
||||
ADD_LIBRARY( FFmpeg ${LIB_DIR}/ffmpeg/LibAvContextHandle.cpp )
|
||||
TARGET_LINK_LIBRARIES( FFmpeg ${FFMPEG_LIBRARIES} )
|
||||
|
||||
SET( LINKER_LIBS ${LINKER_LIBS} FFmpeg )
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user