aboutsummaryrefslogtreecommitdiff
path: root/cmake/WindowsDllCopy.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/WindowsDllCopy.cmake')
-rw-r--r--cmake/WindowsDllCopy.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/WindowsDllCopy.cmake b/cmake/WindowsDllCopy.cmake
index b51e66e5cc..c972d88f57 100644
--- a/cmake/WindowsDllCopy.cmake
+++ b/cmake/WindowsDllCopy.cmake
@@ -23,7 +23,7 @@ foreach(DLL_NAME ${DLLS})
message(FATAL_ERROR "Unable to find dependency ${DLL_NAME}")
endif()
- if($ENV{CI} MATCHES "true")
+ if(CI_BUILD)
message("Copying ${DLL_NAME} to ${DST}")
endif()
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${DLL_PATH} ${DST})