X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;h=9c7a6a5a1ca153a365f6f0aae9c62b1c2f237a85;hp=e7127f7c8a3f053441d097c7ed72bd0d879573a7;hb=a00c0a850b7fc6a3f6f7491df7f45a21ac957fa2;hpb=c5285326555f088e7626dfa67ea7059e094d6e73 diff --git a/CMakeLists.txt b/CMakeLists.txt index e7127f7..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" )