cmake_minimum_required(VERSION 2.8)
# set the project name
project( PJT )

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

find_package( OpenCV REQUIRED )
include_directories(
    ./CFP/libPIC/include
    ./CFP/libPIC/source/libPRNU/include 
    ${OpenCV_INCLUDE_DIRS} 
)


#CFP EXEC
# add_executable( test                    ./CFP/test.cpp )
# add_executable( yuv_test                   ./CFP/yuv_test.cpp )
add_executable( get_result                   ./CFP/get_result.cpp )

add_executable( get_ref                    ./CFP/get_ref.cpp )
add_executable( get_yuv_ref                    ./CFP/get_yuv_ref.cpp )


add_executable( get_pce                   ./CFP/get_pce.cpp )
add_executable( get_yuv_pce                   ./CFP/get_yuv_pce.cpp )
add_executable( get_haique_pce                   ./CFP/get_haique_pce.cpp )

set(LIBPIC "${CMAKE_CURRENT_SOURCE_DIR}/CFP/libPIC/build/liblibPIC.so")
set(LIBPRNU "${CMAKE_CURRENT_SOURCE_DIR}/CFP/libPIC/source/libPRNU/build/liblibPRNU.so")
#CFP LINK


# target_link_libraries( test ${LIBPIC} ${LIBPRNU} ${OpenCV_LIBS} )
target_link_libraries( get_ref ${LIBPIC} ${LIBPRNU} ${OpenCV_LIBS} )
target_link_libraries( get_yuv_ref ${LIBPIC} ${LIBPRNU} ${OpenCV_LIBS} )

target_link_libraries( get_pce ${LIBPIC} ${LIBPRNU} ${OpenCV_LIBS} )
target_link_libraries( get_yuv_pce ${LIBPIC} ${LIBPRNU} ${OpenCV_LIBS} )
target_link_libraries( get_haique_pce ${LIBPIC} ${LIBPRNU} ${OpenCV_LIBS} )

target_link_libraries( get_result ${LIBPIC} ${LIBPRNU} ${OpenCV_L Your entire response should be in English, and in all capital letters.
user