From 796d85eea95b24322de49c4f0afac2da2a486b32 Mon Sep 17 00:00:00 2001 From: LeandroSQ Date: Fri, 2 Feb 2024 01:52:18 -0300 Subject: [PATCH] test --- .github/workflows/ci.yml | 6 ++++-- lib/CMakeLists.txt | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 574dde0..cdea372 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,10 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - target: [desktop, web] + os: [windows-latest] + target: [desktop] + # os: [ubuntu-latest, macos-latest, windows-latest] + # target: [desktop, web] runs-on: ${{ matrix.os }} diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 3e7f18c..d2ffcf9 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -62,6 +62,13 @@ function(include_library name version source) if(WIN32) # On Windows, RENAME yields in a "Access is denied" error, so we use INSTALL and then REMOVE_RECURSE file(COPY ${TEMP_PATH}/${name}-${version}/${children} DESTINATION ${INSTALL_PATH}/${name}-${version}) + + # Show the contents of the folder + file(GLOB children_inside ${INSTALL_PATH}/${name}-${version}/*) + message(STATUS "Children install_path inside: ${children_inside}") + file(GLOB children_inside_inside ${TEMP_PATH}/${name}-${version}/${children}/*) + message(STATUS "Children temp_path inside inside: ${children_inside_inside}") + file(REMOVE_RECURSE ${TEMP_PATH}/${name}-${version}) else() file(RENAME ${TEMP_PATH}/${name}-${version}/${children} ${INSTALL_PATH}/${name}-${version})