Forward the GOLD cmake variable to a CPP define.

This commit is contained in:
Henrik Rydgård 2017-03-16 10:42:15 +01:00
parent 2168acf558
commit 48c0b56db2

View File

@ -79,6 +79,10 @@ if(NOT DEFINED HEADLESS)
set(HEADLESS OFF)
endif()
if(GOLD)
add_definitions(-DGOLD)
endif()
# Doesn't link on some platforms
#if(NOT DEFINED UNITTEST)
# set(UNITTEST OFF)