diff options
Diffstat (limited to 'muse2/awl')
-rw-r--r-- | muse2/awl/CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/muse2/awl/CMakeLists.txt b/muse2/awl/CMakeLists.txt index 5ce5a93e..c9b0cc28 100644 --- a/muse2/awl/CMakeLists.txt +++ b/muse2/awl/CMakeLists.txt @@ -60,15 +60,23 @@ set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} CACHE INTERNAL "") add_library ( awl - STATIC + SHARED ${awl_src} ${PROJECT_BINARY_DIR}/all.h.pch ) +target_link_libraries ( awl + ${QT_LIBRARIES} + al + ) + set_target_properties( awl PROPERTIES COMPILE_FLAGS "-fPIC -include ${PROJECT_BINARY_DIR}/all.h" + OUTPUT_NAME muse_awl ) +install(TARGETS awl DESTINATION ${MUSE_MODULES_DIR}) + # IF (APPLE) # message("Not yet able to build awlplugin under OS X.") # ELSE (APPLE) |