Skip to content

Commit

Permalink
update 3rd.cmake to pass the CI
Browse files Browse the repository at this point in the history
Signed-off-by: ZhuohaoHe <[email protected]>
  • Loading branch information
ZzzhHe committed Aug 9, 2024
1 parent 890c15c commit b502e5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
15 changes: 4 additions & 11 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
},
{
"name": "config-mac",
"name": "config-macos",
"hidden": true,
"inherits": [ "config-base" ],
"displayName": "config-base",
Expand All @@ -72,20 +72,13 @@
"description": "build base configurePresets"
},
{
"name": "build-mac",
"name": "build-macos",
"hidden": false,
"inherits": [
"config-mac"
"config-macos"
],
"displayName": "build-mac",
"displayName": "build-macos",
"description": "macOS build configurePresets"
}
],
"buildPresets": [
{
"name": "build",
"displayName": "Build",
"configurePreset": "config-base"
}
]
}
4 changes: 0 additions & 4 deletions cmake/3rd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ CPMAddPackage(
GITHUB_REPOSITORY g-truc/glm
GIT_TAG 1.0.1
)
if (glm_ADDED)
add_library(glm INTERFACE)
target_include_directories(glm INTERFACE ${glm_SOURCE_DIR})
endif ()

# https://github.com/nothings/stb.git
CPMAddPackage(
Expand Down

0 comments on commit b502e5c

Please sign in to comment.