Skip to content

Commit

Permalink
Try to fetch googletest in the test proj
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-el-sayed committed Aug 13, 2024
1 parent e762b8d commit 296aef9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include(cmake/user_config_options.cmake)
include(cmake/compiler_config.cmake)

# fetch dependencies, must appear after options.cmake
include(cmake/fetch_contents.cmake)
#include(cmake/fetch_contents.cmake)

# find required packages
include(cmake/find_packages.cmake)
Expand Down
19 changes: 9 additions & 10 deletions tests/api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# # project name
# project(
# UGridAPITests
# VERSION ${CMAKE_PROJECT_VERSION}
# DESCRIPTION "UGridAPI tests"
# LANGUAGES CXX C
# )
# project name
project(
UGridAPITests
VERSION ${CMAKE_PROJECT_VERSION}
DESCRIPTION "UGridAPI tests"
LANGUAGES CXX C
)

# # target name
# set(TARGET_NAME ${PROJECT_NAME})
include(${CMAKE_SOURCE_DIR}/cmake/fetch_contents.cmake)

# target name
set(TARGET_NAME UGridAPITests)
set(TARGET_NAME ${PROJECT_NAME})

# Make a test executable
add_executable(${TARGET_NAME})
Expand Down

0 comments on commit 296aef9

Please sign in to comment.