Skip to content

Commit

Permalink
Rename CMake files related to external libraries. Some cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 12, 2024
1 parent 9f117a0 commit 8bb7db2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
10 changes: 3 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ find_package(Threads REQUIRED)
find_package(Qt6 REQUIRED COMPONENTS Widgets Core Gui Network Xml Test)
qt_standard_project_setup()

include(CMakeLists.txt.qwtble)
include(CMakeLists.txt.wble)
include(CMakeLists.txt.eible)

include_directories(${FETCHCONTENT_BASE_DIR}/qwtble-build/qwt/install/include)

link_directories(${FETCHCONTENT_BASE_DIR}/qwtble-build/qwt/install/lib)
include(QwtbleConfig.cmake)
include(WbleConfig.cmake)
include(EibleConfig.cmake)

include_directories(${CMAKE_SOURCE_DIR})
include_directories(GUI)
Expand Down
9 changes: 0 additions & 9 deletions CMakeLists.txt.qwtble

This file was deleted.

File renamed without changes.
13 changes: 13 additions & 0 deletions QwtbleConfig.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
include(FetchContent)

FetchContent_Declare(
qwtble
GIT_REPOSITORY https://github.com/przemek83/qwtble.git
GIT_TAG 053e98689130f21bba4125eb946d196403859b3d
)

FetchContent_MakeAvailable(qwtble)

include_directories(${FETCHCONTENT_BASE_DIR}/qwtble-build/qwt/install/include)

link_directories(${FETCHCONTENT_BASE_DIR}/qwtble-build/qwt/install/lib)
File renamed without changes.

0 comments on commit 8bb7db2

Please sign in to comment.