From f567f05bdb9fc5a590a083d3d4ece405a48f425b Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 3 Nov 2011 16:13:20 +0100 Subject: minor docu fix --- INSTALL | 6 +++++- src/CMakeLists.txt | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 1b93888..b41b45d 100644 --- a/INSTALL +++ b/INSTALL @@ -5,6 +5,10 @@ To build libChooser from source follow these steps: $ make $ sudo make install +On most systems it is highly recommended to add -DCMAKE_INSTALL_PREFIX=/usr to +the cmake call, because in the default setup /usr/local/lib is not included in +the LD Path. + List of configurable parameters with their default values: DEBUG unset @@ -14,4 +18,4 @@ List of configurable parameters with their default values: LIBCHOOSER_X_SESSIONS_PATH "/usr/share/xsessions" To change one of these parameters you have to append -D= when -calling cmake. \ No newline at end of file +calling cmake. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4248fc9..cf2d72d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,7 +36,6 @@ set(LCHOOSER_CONFIG_HEADERS "Version.h" "Config.h") add_library (Chooser_static STATIC ${LCHOOSER_SOURCES} ${LCHOOSER_MOC_SOURCES} ${LCHOOSER_HEADERS} ${LCHOOSER_MOC_HEADERS} ${LCHOOSER_CONFIG_HEADERS}) set_target_properties (Chooser_static PROPERTIES OUTPUT_NAME Chooser) add_library (Chooser_shared SHARED ${LCHOOSER_SOURCES} ${LCHOOSER_MOC_SOURCES} ${LCHOOSER_HEADERS} ${LCHOOSER_MOC_HEADERS} ${LCHOOSER_CONFIG_HEADERS}) -target_link_libraries(Chooser_shared ${QT_LIBRARIES}) set_target_properties (Chooser_shared PROPERTIES OUTPUT_NAME Chooser) -- cgit v1.2.3-55-g7522