X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsquirrel%2FCMakeLists.txt;h=baf0720c9a7474afd35dd0369f99fab3bfd53335;hb=5db79d26dd2477b419adbf5c86e552d8750e83a1;hp=8aeac46edbcc15accf17c35b12bc916da71538d5;hpb=44e69c96435ae9e30bd7be23e272dc7b217b78a9;p=supertux.git diff --git a/src/squirrel/CMakeLists.txt b/src/squirrel/CMakeLists.txt index 8aeac46ed..baf0720c9 100644 --- a/src/squirrel/CMakeLists.txt +++ b/src/squirrel/CMakeLists.txt @@ -27,7 +27,7 @@ FILE(GLOB SQUIRREL_SOURCES squirrel/*.cpp sqstdlib/*.cpp sqstdlib/*.c) ## add additional compiler switches -ADD_DEFINITIONS(-include ${SUPERTUX_SOURCE_DIR}/config.h) +ADD_DEFINITIONS(-include ${CMAKE_BINARY_DIR}/config.h) ## define a target for building the library