mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Remove not needed cpack config
This was previously moved to lib/CMakeLists.txt [PATCH]
This commit is contained in:
parent
5f715c785b
commit
1156e0adfa
@ -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/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user