Skip to content

Commit

Permalink
Merge pull request #107 from tud-zih-energy/marenz.cmake_cleanup
Browse files Browse the repository at this point in the history
Disable fetching GoogleTest when not building tests
marenz2569 authored Jan 27, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents aa84558 + 0bbbc62 commit bc1ac23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -80,10 +80,10 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)

include(cmake/InstallHwloc.cmake)
include(cmake/InstallGoogleTest.cmake)

add_subdirectory(src)

if(FIRESTARTER_BUILD_TESTS)
include(cmake/InstallGoogleTest.cmake)
add_subdirectory(test)
endif()

0 comments on commit bc1ac23

Please sign in to comment.