Enable testing by variable

This commit is contained in:
Dawid Drozd 2017-11-24 12:40:16 +01:00
parent 5c8da7fe1c
commit 951d3f1e42

View File

@ -51,9 +51,9 @@ INSTALL(EXPORT EventBusConfig
)
EXPORT(TARGETS EventBus FILE EventBusConfig.cmake)
ENABLE_TESTING()
ADD_SUBDIRECTORY(test/)
IF(BUILD_TESTING)
ADD_SUBDIRECTORY(test/)
ENDIF()
IF(PERFORMANCE)
ADD_SUBDIRECTORY(performance/)