Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubpa committed May 8, 2020
1 parent 9866e60 commit fa00306
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
18 changes: 10 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

project(UGM VERSION 0.5.5)
project(UGM VERSION 0.5.6)
message(STATUS "[Project] ${PROJECT_NAME}")

include(FetchContent)
message(STATUS "find package: UCMake 0.5.0")
find_package(UCMake 0.5.0 QUIET)
message(STATUS "find package: UCMake 0.5.1")
find_package(UCMake 0.5.1 QUIET)
if(NOT UCMake_FOUND)
message(STATUS "UCMake 0.5.0 not found")
message(STATUS "UCMake 0.5.1 not found")
set(_address "https://github.com/Ubpa/UCMake")
message(STATUS "fetch: ${_address} with tag 0.5.0")
message(STATUS "fetch: ${_address} with tag 0.5.1")
FetchContent_Declare(
UCMake
GIT_REPOSITORY ${_address}
GIT_TAG "0.5.0"
GIT_TAG "0.5.1"
)
FetchContent_MakeAvailable(UCMake)
message(STATUS "UCMake 0.5.0 build done")
message(STATUS "UCMake 0.5.1 build done")
endif()

Ubpa_InitProject()

set(Ubpa_USE_XSIMD TRUE CACHE BOOL "use xsimd")

Ubpa_AddDep(UTemplate 0.4.0)
Ubpa_AddDep(UTemplate 0.4.1)

Ubpa_AddSubDirsRec(include)
Ubpa_AddSubDirsRec(src)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ int main() {
- [CMake-GUI](https://cmake.org/) 3.16.3 及以上
- 支持 SIMD 扩展指令集 SSE 4.1

> 其他环境自行测试,如成功请告知
> 其他环境自行测试
### 3.2 步骤

> 另外不熟悉 CMake 的用户可在 [release-v0.5.0](https://github.com/Ubpa/UGM/releases/tag/v0.5.0) 直接下载 CMake install 版本和纯头文件库
> 另外不熟悉 CMake 的用户可在 [release-v0.5.6](https://github.com/Ubpa/UGM/releases/tag/v0.5.6) 直接下载 CMake install 版本和纯头文件库
>
> 任何配置、使用等问题欢迎提 issues
Expand Down

0 comments on commit fa00306

Please sign in to comment.