diff --git a/armoury/CMakeLists.txt b/armoury/CMakeLists.txt index 04916bb..43b60a5 100644 --- a/armoury/CMakeLists.txt +++ b/armoury/CMakeLists.txt @@ -81,7 +81,7 @@ target_link_libraries(novus-armoury PUBLIC physis-logger mdlpart imgui - NovusCommon) + novus-common) install(TARGETS novus-armoury ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index ece0f2a..01deafe 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,8 +1,8 @@ # SPDX-FileCopyrightText: 2023 Joshua Goins # SPDX-License-Identifier: CC0-1.0 -add_library(NovusCommon STATIC) -target_sources(NovusCommon PRIVATE +add_library(novus-common STATIC) +target_sources(novus-common PRIVATE include/aboutdata.h include/filecache.h include/settings.h @@ -11,8 +11,8 @@ target_sources(NovusCommon PRIVATE src/filecache.cpp src/settings.cpp src/utility.cpp) -target_include_directories(NovusCommon PUBLIC +target_include_directories(novus-common PUBLIC include PRIVATE ${CMAKE_BINARY_DIR}) -target_link_libraries(NovusCommon PUBLIC Qt6::Core Qt6::Widgets KF6::CoreAddons KF6::ConfigCore KF6::XmlGui physis) +target_link_libraries(novus-common PUBLIC Qt6::Core Qt6::Widgets KF6::CoreAddons KF6::ConfigCore KF6::XmlGui physis) diff --git a/exdviewer/CMakeLists.txt b/exdviewer/CMakeLists.txt index 2bbdfd5..62025f9 100644 --- a/exdviewer/CMakeLists.txt +++ b/exdviewer/CMakeLists.txt @@ -7,7 +7,7 @@ add_executable(exdviewer target_include_directories(exdviewer PUBLIC include) -target_link_libraries(exdviewer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets exdpart NovusCommon) +target_link_libraries(exdviewer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets exdpart novus-common) install(TARGETS exdviewer DESTINATION "${INSTALL_BIN_PATH}") diff --git a/explorer/CMakeLists.txt b/explorer/CMakeLists.txt index 3fca9be..afb78a0 100644 --- a/explorer/CMakeLists.txt +++ b/explorer/CMakeLists.txt @@ -11,7 +11,7 @@ add_executable(explorer target_include_directories(explorer PUBLIC include) -target_link_libraries(explorer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets NovusCommon) +target_link_libraries(explorer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets novus-common) install(TARGETS explorer DESTINATION "${INSTALL_BIN_PATH}") diff --git a/mdlviewer/CMakeLists.txt b/mdlviewer/CMakeLists.txt index cac2861..8f8a0b2 100644 --- a/mdlviewer/CMakeLists.txt +++ b/mdlviewer/CMakeLists.txt @@ -7,7 +7,7 @@ add_executable(mdlviewer target_include_directories(mdlviewer PUBLIC include) -target_link_libraries(mdlviewer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets KF6::XmlGui mdlpart NovusCommon) +target_link_libraries(mdlviewer PUBLIC physis z ${LIBRARIES} Qt6::Core Qt6::Widgets KF6::XmlGui mdlpart novus-common) install(TARGETS mdlviewer DESTINATION "${INSTALL_BIN_PATH}") diff --git a/parts/mdl/CMakeLists.txt b/parts/mdl/CMakeLists.txt index d826674..42cf616 100644 --- a/parts/mdl/CMakeLists.txt +++ b/parts/mdl/CMakeLists.txt @@ -2,5 +2,5 @@ # SPDX-License-Identifier: CC0-1.0 add_library(mdlpart STATIC mdlpart.cpp) -target_link_libraries(mdlpart PUBLIC physis z Qt6::Core Qt6::Widgets renderer NovusCommon tinygltf) +target_link_libraries(mdlpart PUBLIC physis z Qt6::Core Qt6::Widgets renderer novus-common tinygltf) target_include_directories(mdlpart PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) \ No newline at end of file