Skip to content
Snippets Groups Projects
Commit c0baee8d authored by florian's avatar florian
Browse files

ENH: Add initial check for existence of libccaosdb

parent 480844c7
No related branches found
No related tags found
1 merge request!4ENH: Add minimal functionality
Pipeline #11097 failed
...@@ -24,10 +24,15 @@ ...@@ -24,10 +24,15 @@
module CaosDB module CaosDB
using Libdl
""" """
Chose the name of the library according to the OS you're running. Chose the name of the library according to the OS you're running.
""" """
library_name = (@static Sys.iswindows() ? "ccaosdb" : "libccaosdb") library_name = (@static Sys.iswindows() ? "ccaosdb" : "libccaosdb")
if isempty(find_library(library_name))
@error "Could not find $library_name"
end
module Exceptions module Exceptions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment