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) EXPORT(TARGETS EventBus FILE EventBusConfig.cmake)
IF(BUILD_TESTING)
ENABLE_TESTING() ADD_SUBDIRECTORY(test/)
ADD_SUBDIRECTORY(test/) ENDIF()
IF(PERFORMANCE) IF(PERFORMANCE)
ADD_SUBDIRECTORY(performance/) ADD_SUBDIRECTORY(performance/)