hedgewars/CMakeLists.txt
changeset 2671 7e0f88013fe8
parent 2669 4eec706e86b0
child 2672 0f1403bf267a
--- a/hedgewars/CMakeLists.txt	Thu Dec 24 13:38:20 2009 +0000
+++ b/hedgewars/CMakeLists.txt	Sun Jan 03 15:40:41 2010 +0000
@@ -90,7 +90,7 @@
 	string(REGEX REPLACE "([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" fpc_vers_major "${fpc_version}")
 	string(REGEX REPLACE "[0-9]+\\.([0-9]+)\\.[0-9]+" "\\1" fpc_vers_minor "${fpc_version}")
 	string(REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" fpc_vers_patch "${fpc_version}")
-	message(STATUS "Freepascal version detected: ${fpc_vers_major}.${fpc_vers_minor}.${fpc_vers_patch}")
+	message(STATUS "Freepascal version detected: ${fpc_vers_major}.${fpc_vers_minor}")
 	math(EXPR fpc_ver "${fpc_vers_major}*10000 + ${fpc_vers_minor}*100 + ${fpc_vers_patch}")
 
 	if(fpc_ver LESS "020200")
@@ -120,7 +120,7 @@
 	find_package(SDL REQUIRED)
 
 	set(CMAKE_OSX_ARCHITECTURES "x86_64;i386;ppc7400")	
-	set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
+	set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
 	include_directories(${SDL_INCLUDE_DIR})
 
 	add_library (SDLmain STATIC SDLMain.m)