mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2025-03-06 23:47:22 +00:00
Make it possible to disable building the tests.
This commit is contained in:
parent
d1336543d8
commit
bcf6e32311
@ -292,6 +292,11 @@ configure_file(
|
||||
add_custom_target(uninstall
|
||||
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
|
||||
|
||||
enable_testing()
|
||||
add_subdirectory(Test)
|
||||
set(TESTS TRUE CACHE BOOL
|
||||
"Enable building the tests")
|
||||
|
||||
if (TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(Test)
|
||||
endif (TESTS)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user