Update CMake configuration
@@ -12,10 +12,6 @@ set (
Elixir.Elektra.System
CACHE STRING "The name of the module which exports the NIFs.")
-if (ELEKTRA_FOUND)
- message (STATUS "Elektra ${ELEKTRA_VERSION} found")
- message (INFO ${ELEKTRA_INCLUDE_DIR})
-
include_directories (${ELEKTRA_INCLUDE_DIR})
add_library (nif_kdb SHARED ${PROJECT_SOURCE_DIR}/lib/nif_kdb.c)
@@ -24,6 +20,3 @@ if (ELEKTRA_FOUND)
target_link_libraries (nif_kdb erlang)
target_compile_definitions (nif_kdb PRIVATE _ELEKTRA_NIF_MODULE_NAME=${ELEKTRA_NIF_MODULE_NAME})
-else (ELEKTRA_FOUND)
- message (FATAL_ERROR "Elektra not found")
-endif (ELEKTRA_FOUND)
