1 #-----------------------------------------------------------------------------
4 # Copyright (C) 2010 Dzmitry Kamiahin <dnk-88@tut.by>
6 #-----------------------------------------------------------------------------
8 # This tells the application(s) where to find the installed data.
10 SET(OVQT_PLUGIN_SPECS_DIR "plugins")
11 SET(OVQT_PLUGIN_DIR "plugins")
12 SET(OVQT_DATA_DIR ".")
13 SET(OVQT_IMP_DATA_DIR "${OVQT_DATA_DIR}")
15 # TODO: under Mac OS X, don't install but copy files in application package
16 SET(OVQT_PLUGIN_SPECS_DIR "plugins")
17 SET(OVQT_PLUGIN_DIR "plugins")
18 SET(OVQT_DATA_DIR ".")
19 SET(OVQT_IMP_DATA_DIR "${OVQT_DATA_DIR}")
21 SET(OVQT_PLUGIN_SPECS_DIR ${NL_SHARE_PREFIX}/studio/plugins)
22 SET(OVQT_PLUGIN_DIR ${NL_LIB_PREFIX}/studio)
23 SET(OVQT_DATA_DIR ${NL_SHARE_PREFIX}/studio/data)
24 SET(OVQT_IMP_DATA_DIR "${CMAKE_INSTALL_PREFIX}/${OVQT_DATA_DIR}")
26 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/ovqt_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/ovqt_config.h)
27 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
29 ADD_DEFINITIONS(-DHAVE_OVQT_CONFIG_H)
32 IF(UNIX AND WITH_STATIC)
33 MESSAGE(FATAL_ERROR "Studio does not work with static NeL builds on Unix atm.")
38 INSTALL(DIRECTORY data/
39 DESTINATION ${OVQT_DATA_DIR}
42 PATTERN ".svn" EXCLUDE
43 PATTERN "Makefile*" EXCLUDE)