storm
storm copied to clipboard
Storm exports LOCATION-NOTFOUND
My stormConfig.cmake
file contained
set_target_properties(libsoplex-pic PROPERTIES IMPORTED_LOCATION "LOCATION-NOTFOUND")
which means that e.g. stormpy does not compile because it somehow can not link with a library named LOCATION-NOTFOUND
We should somehow make sure that either this is not exported in the first place or at least detected on the stormpy side.
For me, no line regarding soplex is present when soplex is not used. So without soplex it seems to work. Could it be an issue with properly exporting the location when soplex is present?
Yes, this also solves the issue for me. I think there are two sides of this issue:
- Find out and fix why using soplex does this
- Generally make sure that "LOCATION-NOTFOUND" is not exported by any library
We are not using add_imported_library
in the CMake file for soplex. No idea whether this has anything to do with it, but I guess it does not hurt to add it and try whether it changes anything?