Skip to content

Commit

Permalink
fix Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 6, 2024
1 parent 522b374 commit 9169e71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
add_subdirectory(QHotKey)
add_subdirectory(QHotkey)
add_subdirectory(vtextedit)
2 changes: 1 addition & 1 deletion libs/vtextedit
Submodule vtextedit updated 1 files
+2 −0 CMakeLists.txt
8 changes: 5 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ if(MSVC)
endif()

# Installation
install(TARGETS vnote
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vnote_extra.rcc"
DESTINATION ${CMAKE_INSTALL_BINDIR})
if (MSVC)
install(TARGETS vnote
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES "${PROJECT_SOURCE_DIR}/package/qt.conf"
DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
Expand Down

0 comments on commit 9169e71

Please sign in to comment.