Skip to content

Commit

Permalink
newer cmake to use regex exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Sep 23, 2024
1 parent 410ea95 commit 5cf3240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ExampleDependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.17)
cmake_minimum_required(VERSION 3.21)

option(MV_UNITY_BUILD "Combine target source files into batches for faster compilation" OFF)

Expand Down Expand Up @@ -112,7 +112,7 @@ install(TARGETS ${PROJECT_NAME}
install(CODE [[
if(WIN32)
set(PRE_EXCLUDE ".*[\\/]api-ms.*" ".*[\\/]ext-ms.*" ".*[\\/]hvsi.*" ".*[\\/]pdmutilities.*" ".*[\\/]wpaxholder.*" ".*[\\/]dxgi.*" ".*[\\/]uxtheme.*" ".*[\\/]d3d11.*" ".*[\\/]winmm.*" ".*[\\/]wldp.*")
set(POST_EXCLUDE ".*[\\/]WINDOWS[\\/]system32[\\/].*\\.dll")
set(POST_EXCLUDE ".*[\\/]system32[\\/].*\\.dll")
elseif(APPLE)
set(PRE_EXCLUDE "/usr/lib" "/System/")
set(POST_EXCLUDE "")
Expand Down

0 comments on commit 5cf3240

Please sign in to comment.