Skip to content

Commit

Permalink
Allow cmake to use framework on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Coltel committed Nov 3, 2020
1 parent 6942b5b commit 1653f24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
find_package (PolarSSL REQUIRED)
if(POLARSSL_FOUND AND POLARSSL_INCLUDE_DIRS AND POLARSSL_LIBRARIES)
include_directories (${POLARSSL_INCLUDE_DIRS})
set (LIB "${LIB} ${POLARSSL_LIBRARIES}")
set (LIB ${LIB} ${POLARSSL_LIBRARIES})
configure_file (${PROJECT_SOURCE_DIR}/include/dislocker/ssl_bindings.h.in ${PROJECT_SOURCE_DIR}/include/dislocker/ssl_bindings.h ESCAPE_QUOTES @ONLY)
else()
return ()
Expand All @@ -124,15 +124,15 @@ endif()
find_package (Ruby)
if(RUBY_FOUND AND RUBY_INCLUDE_DIRS AND RUBY_LIBRARY)
include_directories (${RUBY_INCLUDE_DIRS})
set (LIB "${LIB} ${RUBY_LIBRARY}")
set (LIB ${LIB} ${RUBY_LIBRARY})
add_definitions (-D_HAVE_RUBY=${RUBY_VERSION_STRING})
set (SOURCES ${SOURCES} ruby.c)
endif()

find_package (FUSE)
if(FUSE_FOUND AND FUSE_INCLUDE_DIRS AND FUSE_LIBRARIES)
include_directories (${FUSE_INCLUDE_DIRS})
set (LIB "${LIB} ${FUSE_LIBRARIES}")
set (LIB ${LIB} ${FUSE_LIBRARIES})
endif()

# Places
Expand Down

0 comments on commit 1653f24

Please sign in to comment.