Remove not needed cpack config

This was previously moved to lib/CMakeLists.txt
[PATCH]
This commit is contained in:
Dawid Drozd 2019-04-21 14:34:27 +02:00
parent 5f715c785b
commit 1156e0adfa

View File

@ -7,18 +7,11 @@ project(EventBusDev)
option(ENABLE_TEST "Enable test" ON) option(ENABLE_TEST "Enable test" ON)
option(ENABLE_PERFORMANCE "Enable performance subproject" OFF) option(ENABLE_PERFORMANCE "Enable performance subproject" OFF)
option(ENABLE_CPACK "Enable CPack packaging" ON)
set(CPACK_GENERATOR "" CACHE STRING "Set packages CPack should build")
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
add_subdirectory(lib/) add_subdirectory(lib/)
if(ENABLE_CPACK)
include("lib/cmake/EventBus_CPack.cmake")
enable_cpack("RPM;DEB;TGZ")
endif()
if(ENABLE_TEST) if(ENABLE_TEST)
enable_testing() enable_testing()
add_subdirectory(test/) add_subdirectory(test/)