Skip to content

Commit

Permalink
Fix: CMake build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bedwardly-down committed Jul 14, 2024
1 parent f6477d3 commit f25adc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions modules/editor/grapheditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,11 @@ file(GLOB MOC_HEADERS
"editor/graph/graphwidgets/*.h"
)

set(RESOURCES
grapheditor.qrc
)

QT5_ADD_RESOURCES(RES_SOURCES ${RESOURCES})
QT5_WRAP_CPP(MOC_SRCS ${MOC_HEADERS})

if (desktop)
add_library(${PROJECT_NAME}-editor SHARED ${${PROJECT_NAME}_srcFiles} ${MOC_SRCS} ${RES_SOURCES})
add_library(${PROJECT_NAME}-editor SHARED ${${PROJECT_NAME}_srcFiles} ${MOC_SRCS})

target_link_libraries(${PROJECT_NAME}-editor PRIVATE
next-editor
Expand Down
2 changes: 1 addition & 1 deletion modules/uikit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${${PROJECT_NAME}_srcFiles})
if (desktop)
add_library(${PROJECT_NAME}-editor SHARED
${${PROJECT_NAME}_srcFiles}
${MOC_SRCS}
${UI_HEADERS}
${MOC_SRCS}
${RES_SOURCES}
"src/converters/stylesheetconverter.cpp"
"src/converters/uiconverter.cpp"
Expand Down

0 comments on commit f25adc8

Please sign in to comment.