Disable shared library building for thirdparty libraries

Specifically, the fmt CMake has defaulted to not specifying the library
type to build, so without BUILD_SHARED_LIBS=OFF set, it might try to
build it as a shared library, which we don't want.
This commit is contained in:
Ian McInerney 2023-08-02 22:58:32 +01:00
parent 686dfba77a
commit 199098910a
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#
# Disable shared library building for all thirdparty libraries
set( BUILD_SHARED_LIBS OFF )
# Note: The glew folder isn't added here because it is added inside the main CMakeLists.txt
set( ARGPARSE_INSTALL OFF )