Skip to content

Commit

Permalink
* add refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
eukarpov committed Nov 16, 2023
1 parent fe92752 commit c96e667
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/BUILD.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Building aarch64-w64-mingw32 tests on WSL
Building aarch64-w64-mingw32 tests on Linux or WSL

cmake -S . -B build
cmake --build build
Expand Down
8 changes: 4 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
set(CMAKE_VERBOSE_MAKEFILE ON)
set(CMAKE_C_COMPILER "/home/user/cross/bin/aarch64-w64-mingw32-gcc")
set(CMAKE_C_COMPILER "$ENV{HOME}/cross/bin/aarch64-w64-mingw32-gcc")
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_COMPILER "/home/user/cross/bin/aarch64-w64-mingw32-c++")
set(CMAKE_RANLIB "/home/user/cross/bin/aarch64-w64-mingw32-ranlib")
set(CMAKE_CXX_COMPILER "$ENV{HOME}/cross/bin/aarch64-w64-mingw32-c++")
set(CMAKE_RANLIB "$ENV{HOME}/cross/bin/aarch64-w64-mingw32-ranlib")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fopenmp")

include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
URL https://github.com/google/googletest/archive/b10fad38c4026a29ea6561ab15fc4818170d1c10.zip
)

FetchContent_MakeAvailable(googletest)
Expand Down

0 comments on commit c96e667

Please sign in to comment.