diff --git a/conan_usage_example/CMakeLists.txt b/conan_usage_example/CMakeLists.txt index 381eb12..b2d91ce 100644 --- a/conan_usage_example/CMakeLists.txt +++ b/conan_usage_example/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 3.7) -project(UDPC_NetworkTest C) +project(UDPC_NetworkTest CXX) set(UDPC_NetworkTest_SOURCES - src/UDPC_NetworkTest.c + src/UDPC_NetworkTest.cpp ) add_compile_options( diff --git a/conan_usage_example/conanfile.txt b/conan_usage_example/conanfile.txt index c36dfee..0572e7d 100644 --- a/conan_usage_example/conanfile.txt +++ b/conan_usage_example/conanfile.txt @@ -4,6 +4,3 @@ udpc/1.1 [generators] CMakeDeps CMakeToolchain - -[options] -udpc*:shared=True diff --git a/conan_usage_example/src/UDPC_NetworkTest.c b/conan_usage_example/src/UDPC_NetworkTest.cpp similarity index 100% rename from conan_usage_example/src/UDPC_NetworkTest.c rename to conan_usage_example/src/UDPC_NetworkTest.cpp