Skip to content
Switch branches/tags

Latest commit

Formatted all the CMakeLists.txt files using cmake-format from:

Git stats


Failed to load latest commit information.
Latest commit message
Commit time
Apr 20, 2021
Apr 20, 2021
Apr 20, 2021
Apr 20, 2021
Apr 20, 2021
Apr 20, 2021
Apr 20, 2021
Apr 20, 2021


CMake scripts for building OpenSceneGraph third party libraries.

These scripts can be used to build third party libraries from source using CMake(

The source code for respective library has to be downloaded separately, see download locations below.

By building the INSTALL target for both debug and release these scripts will create a folder named 3rdParty. Inside this folder there will folders created to represent each platform toolset.

Status: Build status

Prebuilt versions

Toolset Prebuilt archive
Visual Studio 2015 32-bit
Visual Studio 2015 64-bit
Visual Studio 2017 32-bit
Visual Studio 2017 64-bit

Prebuilt versions courtesy of AppVeyor


Each of the dependencies keep their original licenses since their scripts are to be considered derivative works.

The top level script is licensed according to the Unlicense:


  1. Download the CMake scripts from this repository.
  2. Download the source for the dependencies you would like to use from their respective location as specified below.
  3. Start the CMake GUI and select the directory with the CMake scripts as your source directory. Use any desired output directory as binary directory.
  4. Press Configure inside the CMake GUI.
  5. Fill in the location of the downloaded sources of your desired dependencies and press "Configure" again. Repeat until there is no more errors and warnings in CMake.
  6. Press Generate inside the CMake GUI. This will generate solution file inside your binary directory.
  7. Open the solution file in your IDE.
  8. Build the ALL_BUILD project for both debug and release.
  9. Build the INSTALL project for both debug and release.

In your binary directory there will now be a folder named 3rdParty with a sub-folder named after your target platform. Inside this folder there should be all your headers and libraries.


Latest version tested: 1.2.11

Sources for zlib can be downloaded from:


Latest version tested: 1.6.37

Sources for libpng can be downloaded from:


Latest version tested: 9d

Sources for libjpeg can be downloaded from:


Latest version tested: 4.2.0

Sources for libtiff can be downloaded from:


Latest version tested: 2.10.4

Sources for FreeType can be downloaded from:


Latest version tested: markkilgard/glut@8cd96cb440f1f2fac3a154227937be39d06efa53

Sources for GLUT can be downloaded from:


Latest version tested: 5.2.1

Sources for GIFLIB can be downloaded from:


Latest version tested: 7.76.1

Sources for cURL can be downloaded from:


CMake scripts for building OpenSceneGraph third party libraries.




No releases published


No packages published