diff --git a/code/nel/CMakeLists.txt b/code/nel/CMakeLists.txt index ed1d31ce8..ecd986f83 100644 --- a/code/nel/CMakeLists.txt +++ b/code/nel/CMakeLists.txt @@ -86,7 +86,7 @@ IF(UNIX) SET(enable_sound ${WITH_SOUND}) CONFIGURE_FILE(nel-config.in nel-config) - INSTALL(PROGRAMS ${CMAKE_BINARY_DIR}/nel-config DESTINATION bin) + INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/nel-config DESTINATION bin) ENDIF(UNIX) IF(WIN32)