diff --git a/CMakeLists.txt b/CMakeLists.txt index 57d95c7..e53e351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,8 +17,10 @@ include_directories(include) if(${CMAKE_SIZEOF_VOID_P} EQUAL 8) set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/builds/${CMAKE_BUILD_TYPE}_x64) + file(GLOB LIBS x64libs/*) else() set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/builds/${CMAKE_BUILD_TYPE}_x86) + file(GLOB LIBS x86libs/*) endif() set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) @@ -26,7 +28,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) set(CMAKE_CONFIGURATION_TYPES Debug Release) -file(GLOB LIBS lib/*) file(COPY ${LIBS} DESTINATION ${CMAKE_FINAL_OUTPUT_DIRECTORY}) add_subdirectory(GUI) diff --git a/lib/LoaderDll.dll b/x86libs/LoaderDll.dll similarity index 100% rename from lib/LoaderDll.dll rename to x86libs/LoaderDll.dll diff --git a/lib/LocaleEmulator.dll b/x86libs/LocaleEmulator.dll similarity index 100% rename from lib/LocaleEmulator.dll rename to x86libs/LocaleEmulator.dll