Correction fichier CMake

This commit is contained in:
Guillaume Courrier 2019-11-27 14:21:16 +01:00
parent de10839794
commit 12b4ff33f7
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ file(
foreach(f ${usage_examples})
get_filename_component(exampleName ${f} NAME_WE)
add_executable(${exampleName} ${f})
target_link_libraries(${exampleName} ${OpenCV_LIBS} fftw3 plotcpp qcustomplot Qt5::Widgets Qt5::PrintSupport)
target_link_libraries(${exampleName} ${OpenCV_LIBS})
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${exampleName}
DESTINATION bin
RENAME ${CMAKE_PROJECT_NAME}-${exampleName})

View file

@ -2,7 +2,7 @@
# file(GLOB lib_files *.cpp)
add_executable(traitement traitement.cpp)
target_link_libraries(traitement ${OpenCV_LIBS} fftw3)
target_link_libraries(traitement ${OpenCV_LIBS})
# target_include_directories(blk PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# target_compile_options (blk PUBLIC -std=c++11 )