upadte cmake

This commit is contained in:
icetd 2024-05-21 18:54:54 +08:00
parent b279b25c8f
commit ac87a13ad1

View File

@ -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})