Fix warning
authormathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 31 May 2010 18:12:50 +0000 (18:12 +0000)
committermathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Mon, 31 May 2010 18:12:50 +0000 (18:12 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6640 837edb03-e0f3-0310-88ca-d4d4e8b29345

CMakeLists.txt

index c707926..5b8276e 100644 (file)
@@ -147,13 +147,13 @@ SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/src/addon/addon_manager.
 
 INCLUDE(ConfigureChecks)
 
-## Also execute instructions in src/squirrel/CMakeLists.txt
+## Also execute instructions in external/squirrel/CMakeLists.txt
 
-ADD_SUBDIRECTORY(external/squirrel)
+ADD_SUBDIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/external/squirrel)
 
 ## Add squirrel lib dir to search path
 
-LINK_DIRECTORIES(external/squirrel)
+LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/external/squirrel)
 
 ## Some additional include paths