Hi.

Please try the attached patch, applied to 1.0pre3, and tell us the
results.

Unfortunately, it does not work.
The problem is test in include/AddScgBits.cmake.

...
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Looking for cam_open_device
-- Looking for cam_open_device - not found.
-- Check size of short
-- Check size of short - done
...


The other parts are OK, with test discarded it builds OK.

LIST(APPEND SCG_LIBS "scg")
   ADD_DEFINITIONS(-DHAVE_CAMLIB_H)
   LIST(APPEND SCG_LIBS "cam")
   LIST(APPEND SCG_SELF_LIBS "cam")
SET(CMAKE_REQUIRED_LIBRARIES )

It should be sufficient to just test presence of header <camlib.h>.

Thanks

                Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to