From 4f0f7139770639fa21b55f237cae071eaadc14de Mon Sep 17 00:00:00 2001 From: halx99 Date: Sat, 13 Mar 2021 18:46:32 +0800 Subject: [PATCH] Merge: 6a868299f5 9aebfd4b0d Merge pull request #331 from c4games/cmake-improve Improve cmake scripts --- cocos/CMakeLists.txt | 2 +- extensions/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/CMakeLists.txt b/cocos/CMakeLists.txt index 940dd5e6aa..dcaedf98de 100644 --- a/cocos/CMakeLists.txt +++ b/cocos/CMakeLists.txt @@ -151,7 +151,7 @@ set_target_properties(${ENGINEX_CORE_LIB} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" VERSION "${ENGINEX_VERSION}" FOLDER "Internal" ) diff --git a/extensions/CMakeLists.txt b/extensions/CMakeLists.txt index a3c9d58632..8ed7a91162 100644 --- a/extensions/CMakeLists.txt +++ b/extensions/CMakeLists.txt @@ -48,7 +48,7 @@ function(setup_cocos_extension_config target_name) PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" FOLDER "Extensions" )