diff options
author | Diego MartÃnez <kaeza@users.sf.net> | 2013-04-05 12:34:43 -0300 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-04-06 12:31:12 -0400 |
commit | 046534e14bf95d7154b4c4217811de64dee1f8f6 (patch) | |
tree | 4a80a95aad7fcf12c9ebcd2945bf874dae3ed66b /src | |
parent | 120f02e20b941969be241363b93e2d918bb9e7a6 (diff) | |
download | minetest-046534e14bf95d7154b4c4217811de64dee1f8f6.tar.gz minetest-046534e14bf95d7154b4c4217811de64dee1f8f6.tar.bz2 minetest-046534e14bf95d7154b4c4217811de64dee1f8f6.zip |
Fix to be able to build from dir different than source dir
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1ed1c862f..b951a8261 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -371,7 +371,7 @@ if(USE_CURL) ) endif(USE_CURL) -set(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin") +set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}/bin") if(BUILD_CLIENT) add_executable(${PROJECT_NAME} ${minetest_SRCS}) |