Skip to content
Snippets Groups Projects
Commit cac25d71 authored by John Biddiscombe's avatar John Biddiscombe
Browse files

Fix a CMake link issue when using shared libs

parent 8b95deb3
Branches cmake-fix2
No related tags found
2 merge requests!34Fix a CMake link issue when using shared libs,!33Cmake fix
......@@ -32,4 +32,8 @@
set(PREFIX @prefix@)
set(Maestro_INCLUDE_DIRS ${PREFIX}/include/maestro)
if (BUILD_SHARED_LIBRARIES)
set(Maestro_LIBRARIES ${PREFIX}/lib/libmaestro.so)
else()
set(Maestro_LIBRARIES ${PREFIX}/lib/libmaestro.a)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment