Skip to content

Commit

Permalink
docs bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed May 18, 2024
1 parent e0addee commit f31d998
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
7 changes: 7 additions & 0 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ set(
hicolor.qrc
${CMAKE_CURRENT_SOURCE_DIR}/../scripts/easing.qrc
)
if(${LINUX_DEPLOY})
list(APPEND RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../../docs/docs_lin.qrc)
elseif(${WIN_DEPLOY})
list(APPEND RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../../docs/docs_win.qrc)
else()
list(APPEND RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../../docs/docs.qrc)
endif()

add_executable(
${PROJECT_NAME}
Expand Down
12 changes: 2 additions & 10 deletions src/ui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,10 @@ set(
widgets/wrappernode.h
)

if(${LINUX_DEPLOY})
list(APPEND RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../../docs/docs_lin.qrc)
elseif(${WIN_DEPLOY})
list(APPEND RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../../docs/docs_win.qrc)
else()
list(APPEND RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../../docs/docs.qrc)
endif()

if(NOT WIN32)
add_library(${PROJECT_NAME} STATIC ${HEADERS} ${SOURCES} ${RESOURCES})
add_library(${PROJECT_NAME} STATIC ${HEADERS} ${SOURCES})
else()
add_library(${PROJECT_NAME} SHARED ${HEADERS} ${SOURCES} ${RESOURCES})
add_library(${PROJECT_NAME} SHARED ${HEADERS} ${SOURCES})
endif()

set_target_properties(
Expand Down

0 comments on commit f31d998

Please sign in to comment.