aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index add1c85..95462ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,7 +56,11 @@ include_directories(${LV2_INCLUDE_DIRS})
pkg_search_module(SRATOM REQUIRED sratom-0>=0.4.0)
include_directories(${SRATOM_INCLUDE_DIRS})
-set(LIBS_UI ${LIBS_UI} ${SRATOM_LDFLAGS})
+if(DEFINED STATIC_SRATOM)
+ set(LIBS_UI ${STATIC_SRATOM} ${STATIC_SORD} ${STATIC_SERD} ${LIBS_UI})
+else()
+ set(LIBS_UI ${LIBS_UI} ${SRATOM_LDFLAGS})
+endif()
find_package(OpenGL)
if(${OPENGL_FOUND})