Unable to build static libraries when `BUILD_SHARED_LIBS=OFF`
Problem statement: Unable to build static library when BUILD_SHARED_LIBS=OFF (No issues when BUILD_SHARED_LIBS=ON) Input: OS: Ubuntu 20.04 Project Structure: —- foo |- CMakeList.txt |- modules | – CMakeLists.txt |- common | – CMakeLists.txt | – include | – src |- device | – CMakeLists.txt | – include | – src |- foolib | – CMakeLists.txt […]