Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
style: reformat cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
robaerd committed Apr 12, 2021
1 parent c68c565 commit fb473a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/bindings/swig/ruby/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ else ()
endif ()

install (TARGETS swig-ruby swig-ruby-tools LIBRARY DESTINATION ${RUBY_LIB_INSTALL_DIR} COMPONENT ruby-elektra)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/kdb.rb ${CMAKE_CURRENT_SOURCE_DIR}/kdbtools.rb DESTINATION ${RUBY_MODULE_INSTALL_DIR} COMPONENT ruby-elektra)
install (
FILES ${CMAKE_CURRENT_SOURCE_DIR}/kdb.rb ${CMAKE_CURRENT_SOURCE_DIR}/kdbtools.rb
DESTINATION ${RUBY_MODULE_INSTALL_DIR}
COMPONENT ruby-elektra)

include_directories (${CMAKE_CURRENT_SOURCE_DIR})
if (BUILD_TESTING)
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/gitresolver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ add_plugin (
SOURCES gitresolver.h gitresolver.c
LINK_ELEKTRA elektra-invoke
INCLUDE_SYSTEM_DIRECTORIES ${GITRESOLVER_INCLUDE_DIRS}
LINK_LIBRARIES ${GITRESOLVER_LIBRARY_DIRS}
COMPONENT libelektra${SO_VERSION}-gitresolver)
LINK_LIBRARIES ${GITRESOLVER_LIBRARY_DIRS} COMPONENT libelektra${SO_VERSION}-gitresolver)
3 changes: 1 addition & 2 deletions src/plugins/ruby/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ add_plugin (
SOURCES ruby.hpp ruby.cpp ${CMAKE_CURRENT_BINARY_DIR}/runtime.h
INCLUDE_SYSTEM_DIRECTORIES ${RUBY_INCLUDE_DIRS}
LINK_LIBRARIES ${RUBY_LIBRARY}
COMPILE_DEFINITIONS SWIG_TYPE_TABLE=kdb SWIG_RUNTIME=\"runtime.h\"
COMPONENT libelektra${SO_VERSION}-ruby)
COMPILE_DEFINITIONS SWIG_TYPE_TABLE=kdb SWIG_RUNTIME=\"runtime.h\" COMPONENT libelektra${SO_VERSION}-ruby)

if (ADDTESTING_PHASE)
# bindings are required for tests
Expand Down

0 comments on commit fb473a9

Please sign in to comment.