diff -r 4101f0f1c0b9 -r e2d2b84aa776 share/hedgewars/Data/Music/CMakeLists.txt --- a/share/hedgewars/Data/Music/CMakeLists.txt Sat Feb 02 15:20:41 2008 +0000 +++ b/share/hedgewars/Data/Music/CMakeLists.txt Sun Feb 03 17:02:20 2008 +0000 @@ -2,7 +2,7 @@ list(LENGTH BaseMusic PlayListLength) -set(PlayListINCFile ${hedgewars_SOURCE_DIR}/hedgewars/playlist.inc) +set(PlayListINCFile ${CMAKE_BINARY_DIR}/hedgewars/playlist.inc) file(WRITE ${PlayListINCFile} "const cPlayListLength = " ${PlayListLength} ";")