Changeset 778


Ignore:
Timestamp:
12/20/2010 10:32:42 AM (10 years ago)
Author:
lmalek
Message:

Fix Module OpenCV config for Linux

Location:
libs/SAMGAR V2
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • libs/SAMGAR V2/Module/CMakeLists.txt

    r777 r778  
    55find_package(YARP REQUIRED) 
    66 
     7# find pkg-config 
     8find_package(PkgConfig REQUIRED) 
     9 
    710# find OpenCV 
    8 find_package(OpenCV REQUIRED) 
     11pkg_check_modules(OpenCV REQUIRED opencv) 
    912 
    1013# add YARP include directories 
     
    2225 
    2326# link with YARP libraries 
    24 target_link_libraries(SamExamples SamModule ${YARP_LIBRARIES}) 
    25 target_link_libraries(VideoSend SamModule ${YARP_LIBRARIES} ${OpenCV_LIBS}) 
    26 target_link_libraries(VideoGet SamModule ${YARP_LIBRARIES} ${OpenCV_LIBS}) 
     27target_link_libraries(SamExamples SamModule ${YARP_LIBRARIES} ACE) 
     28target_link_libraries(VideoSend SamModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
     29target_link_libraries(VideoGet SamModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
Note: See TracChangeset for help on using the changeset viewer.