Skip to content

Commit

Permalink
Make compatible with CMake 3.10
Browse files Browse the repository at this point in the history
Need to build with a Debian/Ubuntu CMake to be able to build .deb packages using lib/<triplet> as library path in the GNUInstallDirs module.
  • Loading branch information
TheAssassin committed Apr 19, 2020
1 parent e1a93ad commit 88c3578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/commands/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_library(cli_commands OBJECT Command.h CommandFactory.cpp CommandFactory.h IntegrateCommand.cpp IntegrateCommand.h UnintegrateCommand.h UnintegrateCommand.cpp exceptions.h)
add_library(cli_commands STATIC Command.h CommandFactory.cpp CommandFactory.h IntegrateCommand.cpp IntegrateCommand.h UnintegrateCommand.h UnintegrateCommand.cpp exceptions.h)
target_link_libraries(cli_commands PUBLIC Qt5::Core shared cli_logging)
target_include_directories(cli_commands PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
2 changes: 1 addition & 1 deletion src/fswatcher/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_library(filesystemwatcher OBJECT filesystemwatcher.cpp filesystemwatcher.h)
add_library(filesystemwatcher STATIC filesystemwatcher.cpp filesystemwatcher.h)
target_link_libraries(filesystemwatcher PUBLIC Qt5::Core shared)
target_include_directories(filesystemwatcher PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

0 comments on commit 88c3578

Please sign in to comment.