Fix headless build for CMake export

This commit is contained in:
James Turner 2016-01-30 14:29:12 +00:00
parent 9d7402242a
commit ccb5d05eb4

View File

@ -429,7 +429,9 @@ add_subdirectory(simgear)
#-----------------------------------------------------------------------------
generate_export_header(SimGearCore)
if(NOT SIMGEAR_HEADLESS)
generate_export_header(SimGearScene)
endif()
include(CMakePackageConfigHelpers)