From 124e87e46711251f1ab431ebc3bbc2b1f8a557bc 2017-12-04 17:36:03 From: Thibaud Rabillard Date: 2017-12-04 17:36:03 Subject: [PATCH] Add Apple runtime config to find CatalogueAPI at runtime when building with cmake --- diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 27c6d8a..34265ba 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -74,6 +74,9 @@ SCIQLOP_SET_TO_PARENT_SCOPE(SQPCORE_LIBRARY_NAME) LIST (APPEND ${EXTERN_SHARED_LIBRARIES} ${CATALOGUEAPI_LIBRARIES}) SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES}) +if(APPLE) +SCIQLOP_COPY_TO_TARGET(RUNTIME ${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES}) +endif() SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES}) # Add the files to the list of files to be analyzed