fix
This commit is contained in:
parent
fd82d23600
commit
7faa02760c
|
@ -5,6 +5,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules ${C
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
option(WITH_WITH_KDE "Try to build with KDE support if availibe" ON)
|
option(WITH_WITH_KDE "Try to build with KDE support if availibe" ON)
|
||||||
|
@ -38,8 +40,10 @@ if(Boost_USE_STATIC_RUNTIME)
|
||||||
add_definitions(-DBOOST_THREAD_USE_LIB )
|
add_definitions(-DBOOST_THREAD_USE_LIB )
|
||||||
endif(Boost_USE_STATIC_RUNTIME)
|
endif(Boost_USE_STATIC_RUNTIME)
|
||||||
|
|
||||||
set(SNORE_PLUGIN_INSTALL_PATH LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/libsnore)
|
set(LIBSNORE_PLUGIN_PATH ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libsnore)
|
||||||
add_definitions(-DLIBSNORE_PLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libsnore" -DCMAKE_INSTALL_LIBDIR="${CMAKE_INSTALL_LIBDIR}")
|
set(SNORE_PLUGIN_INSTALL_PATH LIBRARY DESTINATION ${LIBSNORE_PLUGIN_PATH})
|
||||||
|
add_definitions(-DLIBSNORE_PLUGIN_PATH="${LIBSNORE_PLUGIN_PATH}" -DCMAKE_INSTALL_LIBDIR="${CMAKE_INSTALL_LIBDIR}")
|
||||||
|
message(STATUS "Installing plugins to ${LIBSNORE_PLUGIN_PATH}")
|
||||||
|
|
||||||
add_subdirectory(data)
|
add_subdirectory(data)
|
||||||
add_subdirectory(share)
|
add_subdirectory(share)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
find_package(Qt5Transitional)
|
find_package(Qt5Transitional)
|
||||||
include_directories( ${QT_INCLUDES} )
|
include_directories( ${QT_INCLUDES} )
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
|
||||||
|
|
||||||
if (CMAKE_COMPILER_IS_GNUCXX)
|
if (CMAKE_COMPILER_IS_GNUCXX)
|
||||||
set (KDE4_ENABLE_EXCEPTIONS -fexceptions)
|
set (KDE4_ENABLE_EXCEPTIONS -fexceptions)
|
||||||
# Select flags.
|
# Select flags.
|
||||||
|
|
Loading…
Reference in New Issue