Menu

#681 DATA_DIR macro not set for Release. Wrong set for Debug with gcc

SVN
open
nobody
5
2015-09-20
2015-09-20
No

Using the CMAKE variable DATADIR it is only forwarded to the preprocessor as DATA_DIR, when compiling in Debug mode. Trying to compile in Debug mode, with DATADIR set, results in compilation error.
I propose the atteched (tested) changes to the CMakeLists.txt

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel