Skip to content

Commit

Permalink
ruby/CMakeLists: Lowercase commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Mar 23, 2020
1 parent f5ab99f commit bb20a9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bindings/ruby/CMakeLists.txt
Expand Up @@ -25,8 +25,8 @@
################################################################################

############### RUBY BINDINGS ################
FIND_PACKAGE(SWIG 3.0 REQUIRED)
INCLUDE(${SWIG_USE_FILE})
find_package(SWIG 3.0 REQUIRED)
include(${SWIG_USE_FILE})

### Enable some legacy SWIG behaviors, in newer CMAKEs
if (POLICY CMP0078)
Expand All @@ -42,8 +42,8 @@ if (NOT RUBY_FOUND)
endif()

### Include the Ruby header files
INCLUDE_DIRECTORIES(${RUBY_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${RUBY_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})

### Enable C++ in SWIG
set_property(SOURCE openshot.i PROPERTY CPLUSPLUS ON)
Expand Down Expand Up @@ -105,5 +105,5 @@ message(STATUS "RUBY_MODULE_PATH: ${CMAKE_INSTALL_PREFIX}/${RUBY_MODULE_PATH}")
############### INSTALL HEADERS & LIBRARY ################
# Install Ruby bindings
install(TARGETS ${SWIG_MODULE_rbopenshot_REAL_NAME}
DESTINATION ${RUBY_MODULE_PATH} )
DESTINATION ${RUBY_MODULE_PATH} )

0 comments on commit bb20a9b

Please sign in to comment.