X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;h=9c7a6a5a1ca153a365f6f0aae9c62b1c2f237a85;hp=a17b2269ea1e7a11d42296963f556a3a29173ae4;hb=a00c0a850b7fc6a3f6f7491df7f45a21ac957fa2;hpb=602adb256f131ef673adb18f8581ff249b356077 diff --git a/CMakeLists.txt b/CMakeLists.txt index a17b226..9c7a6a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,8 @@ set(CPACK_COMPONENT_SHAREDLIBS_GROUP "Development") set(CPACK_COMPONENT_STATICLIBS_GROUP "Development") set(CPACK_COMPONENT_HEADERS_GROUP "Development") +option ( STATICLIBS "Build static libraries" ON ) + # guess LIB_SUFFIX, don't take debian multiarch into account if ( NOT DEFINED LIB_SUFFIX ) if ( CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_CROSSCOMPILING AND NOT EXISTS "/etc/debian_version" ) @@ -141,7 +143,7 @@ endif(DOCUMENTATION AND DOXYGEN_FOUND) add_subdirectory(src) add_subdirectory(ftdipp) -add_subdirectory(bindings) +add_subdirectory(python) add_subdirectory(ftdi_eeprom) add_subdirectory(examples) add_subdirectory(packages)