upadte cmake
This commit is contained in:
parent
b279b25c8f
commit
ac87a13ad1
@ -20,7 +20,7 @@ set(MPP_LIB "${CMAKE_SOURCE_DIR}/thirdparty/mpp/lib")
|
|||||||
|
|
||||||
link_directories(
|
link_directories(
|
||||||
${MPP_LIB}
|
${MPP_LIB}
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${INCLUDE_DIR}
|
${INCLUDE_DIR}
|
||||||
@ -28,19 +28,19 @@ include_directories(
|
|||||||
${JPEGTURBO_INC}
|
${JPEGTURBO_INC}
|
||||||
${MPP_INC}
|
${MPP_INC}
|
||||||
${LIVE555_INC}
|
${LIVE555_INC}
|
||||||
)
|
)
|
||||||
|
|
||||||
file(GLOB_RECURSE SRC_FILES
|
file(GLOB_RECURSE SRC_FILES
|
||||||
"${SOURCE_DIR}/*c*"
|
"${SOURCE_DIR}/*c*"
|
||||||
)
|
)
|
||||||
|
|
||||||
file (GLOB_RECURSE INC_FILES
|
file (GLOB_RECURSE INC_FILES
|
||||||
"${INCLUDE_DIR}/*.h"
|
"${INCLUDE_DIR}/*.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
list(APPEND EXTRA_LIBS
|
list(APPEND EXTRA_LIBS
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add the executable
|
# Add the executable
|
||||||
add_executable(${PROJECT_NAME} ${SRC_FILES} ${LIVE555_FILES} ${INC_FILES} ${LIVE555_INC_FILES})
|
add_executable(${PROJECT_NAME} ${SRC_FILES} ${LIVE555_FILES} ${INC_FILES} ${LIVE555_INC_FILES})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user