issue #3113: [Linux] Adding options for modules.
Merge pull request #4116 from dumganhar/cmake-option

issue #3113: [Linux] Adding options for modules.