1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Fix to be able to build from dir different than source dir

This commit is contained in:
Diego Martínez 2013-04-05 12:34:43 -03:00 committed by kwolekr
parent 120f02e20b
commit 046534e14b
2 changed files with 13 additions and 8 deletions

View file

@ -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})