diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bb50fc..fd26c24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/CMakeLists.txt.qwtble b/CMakeLists.txt.qwtble deleted file mode 100644 index d423095..0000000 --- a/CMakeLists.txt.qwtble +++ /dev/null @@ -1,9 +0,0 @@ -include(FetchContent) - -FetchContent_Declare( - qwtble - GIT_REPOSITORY https://github.com/przemek83/qwtble.git - GIT_TAG 053e98689130f21bba4125eb946d196403859b3d -) - -FetchContent_MakeAvailable(qwtble) \ No newline at end of file diff --git a/CMakeLists.txt.eible b/EibleConfig.cmake similarity index 100% rename from CMakeLists.txt.eible rename to EibleConfig.cmake diff --git a/QwtbleConfig.cmake b/QwtbleConfig.cmake new file mode 100644 index 0000000..4b343c5 --- /dev/null +++ b/QwtbleConfig.cmake @@ -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) \ No newline at end of file diff --git a/CMakeLists.txt.wble b/WbleConfig.cmake similarity index 100% rename from CMakeLists.txt.wble rename to WbleConfig.cmake