Update CMakeLists.txt

This commit is contained in:
John Zhao
2018-05-11 16:15:26 +08:00
parent 76d12ccec7
commit ff70cc47f3
16 changed files with 171 additions and 156 deletions

View File

@@ -22,15 +22,8 @@ set_outdir(
## record
add_executable(record record.cc dataset.cc)
target_link_libraries(record mynteye ${OpenCV_LIBS})
target_create_scripts(record DLL_SEARCH_PATHS
${PRO_DIR}/_install/bin
${OpenCV_LIB_SEARCH_PATH}
make_executable(record
SRCS record.cc dataset.cc
LINK_LIBS mynteye ${OpenCV_LIBS}
DLL_SEARCH_PATHS ${PRO_DIR}/_install/bin ${OpenCV_LIB_SEARCH_PATH}
)
if(OS_WIN)
target_compile_definitions(record
PUBLIC GLOG_NO_ABBREVIATED_SEVERITIES
)
endif()