Fix compilation

This commit is contained in:
Pierre Salmon 2018-03-14 17:23:11 +01:00
parent caec657b07
commit 8dda584267

View File

@ -37,11 +37,11 @@ SET_TARGET_PROPERTIES(EventBus PROPERTIES
CXX_STANDARD 14
)
IF(NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
TARGET_COMPILE_FEATURES(EventBus
PUBLIC cxx_auto_type
)
ENDIF()
# IF(NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
# TARGET_COMPILE_FEATURES(EventBus
# PUBLIC cxx_auto_type
# )
# ENDIF()
INSTALL(TARGETS EventBus EXPORT EventBusConfig
ARCHIVE DESTINATION lib/