Skip to content

Commit

Permalink
Fixed issues with installing targets
Browse files Browse the repository at this point in the history
  • Loading branch information
stryku committed Feb 29, 2020
1 parent 55e33a9 commit 03667a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.3)
cmake_minimum_required(VERSION 3.13)

project(okon)

Expand Down
4 changes: 2 additions & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ include(GNUInstallDirs)

install(
TARGETS okon
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/okon
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/okon
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
3 changes: 1 addition & 2 deletions okon-cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ include(GNUInstallDirs)

install(
TARGETS okon-cli
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_BINDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

0 comments on commit 03667a0

Please sign in to comment.