mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
CMake: remove superfluous indirection
This commit is contained in:
parent
5f213c0ec4
commit
ddf7b7fc90
1 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
set( CALAMARESUI_LIBRARY_TARGET calamaresui )
|
||||
project( libcalamaresui CXX )
|
||||
|
||||
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
||||
list( APPEND calamaresui_SOURCES
|
||||
modulesystem/CppJobModule.cpp
|
||||
modulesystem/Module.cpp
|
||||
modulesystem/ModuleManager.cpp
|
||||
|
@ -29,12 +29,12 @@ list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
|||
ViewManager.cpp
|
||||
)
|
||||
|
||||
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_UI
|
||||
list( APPEND calamaresui_UI
|
||||
utils/DebugWindow.ui
|
||||
)
|
||||
|
||||
if( WITH_PYTHON )
|
||||
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
||||
list( APPEND calamaresui_SOURCES
|
||||
modulesystem/PythonJobModule.cpp
|
||||
)
|
||||
endif()
|
||||
|
@ -43,7 +43,7 @@ if( WITH_PYTHONQT )
|
|||
include_directories(${PYTHON_INCLUDE_DIRS})
|
||||
include_directories(${PYTHONQT_INCLUDE_DIR})
|
||||
|
||||
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
||||
list( APPEND calamaresui_SOURCES
|
||||
modulesystem/PythonQtViewModule.cpp
|
||||
utils/PythonQtUtils.cpp
|
||||
viewpages/PythonQtJob.cpp
|
||||
|
@ -58,9 +58,9 @@ if( WITH_PYTHONQT )
|
|||
)
|
||||
endif()
|
||||
|
||||
calamares_add_library( ${CALAMARESUI_LIBRARY_TARGET}
|
||||
SOURCES ${${CALAMARESUI_LIBRARY_TARGET}_SOURCES}
|
||||
UI ${${CALAMARESUI_LIBRARY_TARGET}_UI}
|
||||
calamares_add_library( calamaresui
|
||||
SOURCES ${calamaresui_SOURCES}
|
||||
UI ${calamaresui_UI}
|
||||
EXPORT_MACRO UIDLLEXPORT_PRO
|
||||
LINK_PRIVATE_LIBRARIES
|
||||
${YAMLCPP_LIBRARY}
|
||||
|
|
Loading…
Add table
Reference in a new issue