diff options
author | Timothy Pearson <[email protected]> | 2013-01-29 23:35:32 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-29 23:35:32 -0600 |
commit | efb9cf24757cc444480e2d7d30bd01293177d277 (patch) | |
tree | 92fd02b819cf9c5f0c64a15aab1e434b234ba1a0 /kamera/ConfigureChecks.cmake | |
parent | 14ad34cde3cb2917e91092546631952d0258a222 (diff) | |
parent | d4d1a5808bad1023c8291a52c2143b36f6b41d85 (diff) | |
download | tdegraphics-efb9cf24757cc444480e2d7d30bd01293177d277.tar.gz tdegraphics-efb9cf24757cc444480e2d7d30bd01293177d277.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdegraphics
Diffstat (limited to 'kamera/ConfigureChecks.cmake')
-rw-r--r-- | kamera/ConfigureChecks.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kamera/ConfigureChecks.cmake b/kamera/ConfigureChecks.cmake index 359f9a00..b9f8f8d6 100644 --- a/kamera/ConfigureChecks.cmake +++ b/kamera/ConfigureChecks.cmake @@ -13,3 +13,11 @@ pkg_search_module( GPHOTO2 libgphoto2 ) if( NOT GPHOTO2_FOUND ) tde_message_fatal( "libgphoto2 is required, but was not found on your system" ) endif( ) + +check_library_exists(gphoto2_port gp_port_info_get_name "" GPHOTO2_5) +if(GPHOTO2_5) + message(STATUS " found libgphoto2 2.5") +else(GPHOTO2_5) + message(STATUS " assuming libgphoto2 2.4") +endif(GPHOTO2_5) +set(HAVE_GPHOTO2_5 ${GPHOTO2_5} CACHE FILEPATH "") |