We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3246c2b commit d8646caCopy full SHA for d8646ca
src/libcprover-cpp/CMakeLists.txt
@@ -66,6 +66,9 @@ foreach(dep ${LIBRARY_DEPENDENCIES})
66
else()
67
find_library(dep_path ${dep})
68
string(REGEX REPLACE "[.]so$" ".a" dep_static_path ${dep_path})
69
+ if (NOT EXISTS "${dep_static_path}")
70
+ message(FATAL_ERROR "libcprover-cpp cannot be linked as dependency ${dep_path} does not have a static correspondent file (${dep_static_path})")
71
+ endif()
72
list(APPEND DEPENDENCY_TARGETS ${dep_static_path})
73
endif()
74
endforeach(dep LIBRARY_DEPENDENCIES)
0 commit comments