CMakeLists.txt does not allow creation of static library and link applications accordingly. Creation of SHARED and STATIC should be allowed using -DBUILD_SHARED_LIBS README file is also ammended to provide information regarding use of -DBUILD_SHARED_LIBS while using cmake Deepak Kumar Mishra (2): CMakeLists.txt: enable SHARED and STATIC lib creation README: add documentation for -DBUILD_SHARED_LIBS CMakeLists.txt | 10 +++++----- README | 13 +++++++++++-- 2 files changed, 16 insertions(+), 7 deletions(-) -- 2.17.1