From f74417648165d01b8238fe45046ab8c8faffad1a Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Mon, 14 Sep 2020 19:17:30 +0200 Subject: [PATCH] Fixed lib filename for carl (Fixes #85) --- resources/3rdparty/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/3rdparty/CMakeLists.txt b/resources/3rdparty/CMakeLists.txt index 170e72033..3379689bf 100644 --- a/resources/3rdparty/CMakeLists.txt +++ b/resources/3rdparty/CMakeLists.txt @@ -347,7 +347,11 @@ if (STORM_SHIPPED_CARL) message(STATUS "Storm - Linking with shipped carl ${carl_VERSION} (include: ${carl_INCLUDE_DIR}, library ${carl_LIBRARIES}, CARL_USE_CLN_NUMBERS: ${CARL_USE_CLN_NUMBERS}, CARL_USE_GINAC: ${CARL_USE_GINAC}).") # install the carl dynamic library if we built it - install(FILES ${STORM_3RDPARTY_BINARY_DIR}/carl/lib/libcarl.${carl_VERSION}${DYNAMIC_EXT} DESTINATION lib) + if(MACOSX) + install(FILES ${STORM_3RDPARTY_BINARY_DIR}/carl/lib/libcarl.${carl_VERSION}${DYNAMIC_EXT} DESTINATION lib) + else() + install(FILES ${STORM_3RDPARTY_BINARY_DIR}/carl/lib/libcarl${DYNAMIC_EXT}.${carl_VERSION} DESTINATION lib) + endif() endif() if(STORM_USE_CLN_RF AND NOT STORM_HAVE_CLN)