Skip to content

Commit

Permalink
Make plugin directory customizable
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 authored and alexp-sssup committed May 19, 2010
1 parent 6544c7f commit 9fe0ab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Install prefix")
SET(COMPILE_LIGHTSPARK TRUE CACHE BOOL "Compile Lightspark?")
SET(COMPILE_TIGHTSPARK TRUE CACHE BOOL "Compile Tightspark?")
SET(COMPILE_PLUGIN FALSE CACHE BOOL "Compile the Firefox Plugin?")
SET(PLUGIN_DIRECTORY "/usr/lib/mozilla/plugins" CACHE STRING "Directory to install Firefox plugin to")

SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/conf)

Expand Down
2 changes: 1 addition & 1 deletion plugin-dir/CMakeLists.txt
Expand Up @@ -47,6 +47,6 @@ TARGET_LINK_LIBRARIES(lightsparkplugin ${lib_pthread} ${lib_glew} ${EXTRA_LIBS_L
SET_TARGET_PROPERTIES(lightsparkplugin PROPERTIES LINK_FLAGS "-Wl,--as-needed")
#UNIX?
IF(UNIX)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/liblightsparkplugin.so DESTINATION /usr/lib/mozilla/plugins)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/liblightsparkplugin.so DESTINATION ${PLUGIN_DIRECTORY})
ENDIF(UNIX)

0 comments on commit 9fe0ab0

Please sign in to comment.