Skip to content

Commit

Permalink
Rename variable to add AU_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
chiphogg committed Oct 12, 2024
1 parent 7ec3cc2 commit bafac65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ project(
LANGUAGES CXX
)

option(ENABLE_TESTING "Build Unit Tests" ON)
option(AU_ENABLE_TESTING "Build Unit Tests" ON)

# The export set for all of our headers.
set(AU_EXPORT_SET_NAME AuHeaders)

if(ENABLE_TESTING)
if(AU_ENABLE_TESTING)
message(STATUS "Unit tests enabled")
enable_testing()

Expand Down
2 changes: 1 addition & 1 deletion cmake/HeaderOnlyLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function(header_only_library)
endfunction()

function(gtest_based_test)
if (NOT ENABLE_TESTING)
if (NOT AU_ENABLE_TESTING)
message(VERBOSE "AU_ENABLE_TESTING not defined; will not create test target.")
return()
endif()
Expand Down

0 comments on commit bafac65

Please sign in to comment.