diff --git a/CMakeLists.txt b/CMakeLists.txt index 00f11e2e..4a878f77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ project(Plasma) cmake_minimum_required(VERSION 2.8) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") +SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${Plasma_BINARY_DIR}/bin) # Find all 3rd-party libraries that are required find_package(OpenSSL REQUIRED) diff --git a/Sources/Tools/MaxMain/CMakeLists.txt b/Sources/Tools/MaxMain/CMakeLists.txt index 9f2c7b4c..7836c92f 100644 --- a/Sources/Tools/MaxMain/CMakeLists.txt +++ b/Sources/Tools/MaxMain/CMakeLists.txt @@ -80,6 +80,7 @@ set(MaxMain_SOURCES plTextureSearch.cpp ) +SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${Plasma_BINARY_DIR}/bin) add_library(MaxMain SHARED ${MaxMain_HEADERS} ${MaxMain_RESOURCES} ${MaxMain_SOURCES}) set_target_properties(MaxMain PROPERTIES OUTPUT_NAME "PlasmaMax") set_target_properties(MaxMain PROPERTIES SUFFIX ".gup") diff --git a/Sources/Tools/MaxPlasmaLights/CMakeLists.txt b/Sources/Tools/MaxPlasmaLights/CMakeLists.txt index 55588662..01133373 100644 --- a/Sources/Tools/MaxPlasmaLights/CMakeLists.txt +++ b/Sources/Tools/MaxPlasmaLights/CMakeLists.txt @@ -34,6 +34,7 @@ set(MaxPlasmaLights_SOURCES plRTProjDirLight.cpp ) +SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${Plasma_BINARY_DIR}/bin) add_library(MaxPlasmaLights SHARED ${MaxPlasmaLights_HEADERS} ${MaxPlasmaLights_RESOURCES} ${MaxPlasmaLights_SOURCES}) set_target_properties(MaxPlasmaLights PROPERTIES SUFFIX ".dlo")