Correction fichier CMake
This commit is contained in:
parent
de10839794
commit
12b4ff33f7
2 changed files with 2 additions and 2 deletions
|
@ -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})
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue