Skip to content

Commit 9661b80

Browse files
committed
CMake - introduce directory for external libraries
1 parent e9aa9e9 commit 9661b80

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ project(ipfixprobe VERSION ${VERSION} LANGUAGES CXX C)
99

1010
include(cmake/build_type.cmake)
1111
include(cmake/installation.cmake)
12-
include(cmake/dependencies.cmake)
1312

1413
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
1514

@@ -32,4 +31,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic -Wall -Wextra -Wunused -Wconv
3231
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -Werror")
3332
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -ggdb3")
3433

34+
include(cmake/dependencies.cmake)
35+
36+
add_subdirectory(external)
3537
add_subdirectory(src)

external/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include(FetchContent)
2+
include(ExternalProject)
3+
4+
set(FETCHCONTENT_QUIET OFF)

0 commit comments

Comments
 (0)