restored OUtputPinController
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
####################### OPTIONS #########################
|
||||
option(CROSS_COMPILE "Enables crosscompiling for raspberry pi" OFF)
|
||||
option(BUILD_SHARED_LIB "Build a shared lib instead of a static." OFF)
|
||||
option(ENABLE_TESTING "Enables testing." ON)
|
||||
option(CROSS_COMPILE "Enables crosscompiling for raspberry pi" OFF)
|
||||
option(BUILD_NETWORKING "Build socket communication executable." ON)
|
||||
option(BUILD_CLI "Makes a basic testing cli" OFF)
|
||||
|
||||
#################### CONFIGURATION ######################
|
||||
@@ -144,19 +145,15 @@ if(NOT CMAKE_THREAD_LIBS_INIT)
|
||||
endif()
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE ${Threads_LIBRARIES})
|
||||
|
||||
####################### POCO ##############################
|
||||
find_package(Poco REQUIRED COMPONENTS Foundation Net JSON )
|
||||
|
||||
if(NOT Poco_FOUND)
|
||||
message(FATAL_ERROR, "Could not find libPoco")
|
||||
endif()
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Poco::Foundation Poco::Net Poco::JSON)
|
||||
|
||||
|
||||
if(ENABLE_TESTING)
|
||||
add_subdirectory(tests)
|
||||
endif(ENABLE_TESTING)
|
||||
|
||||
if(BUILD_NETWORKING)
|
||||
add_subdirectory(networking)
|
||||
endif(BUILD_NETWORKING)
|
||||
|
||||
if(BUILD_CLI)
|
||||
add_subdirectory(cli)
|
||||
endif(BUILD_CLI)
|
||||
|
||||
Reference in New Issue
Block a user