Skip to content

Commit

Permalink
Use one if instead of two for building tests and examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 8, 2024
1 parent 053e986 commit 81561f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ endif()

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
add_subdirectory(examples)
endif()

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
enable_testing()
add_subdirectory(tests)
endif()

0 comments on commit 81561f2

Please sign in to comment.