diff options
| author | Alexander Neundorf <neundorf@kde.org> | 2007-11-12 19:22:57 +0000 | 
|---|---|---|
| committer | Alexander Neundorf <neundorf@kde.org> | 2007-11-12 19:22:57 +0000 | 
| commit | 8dd916a290574383820181c0c9e2e163f3227003 (patch) | |
| tree | 6aaa1d6b189c9ca1f8c93a4247db91d4645dd0e6 | |
| parent | 9af2d339798215802d078b22edab01f842554b98 (diff) | |
| download | extra-cmake-modules-8dd916a290574383820181c0c9e2e163f3227003.tar.gz extra-cmake-modules-8dd916a290574383820181c0c9e2e163f3227003.tar.bz2 | |
minor cosmetic changes: fix indentation (no tabs), don't test for WIN32 twice in a row
Alex
M    FindKDE4Internal.cmake
svn path=/trunk/KDE/kdelibs/; revision=735843
| -rw-r--r-- | modules/FindKDE4Internal.cmake | 28 | 
1 files changed, 13 insertions, 15 deletions
| diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 57317484..f41aea04 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -322,23 +322,21 @@ else (_kdeBootStrapping)        message(FATAL_ERROR "Couldn't parse KDE version string from the kde4-config output:\n${kdeconfig_output}")     endif (KDEVERSION) +   set(LIBRARY_OUTPUT_PATH  ${CMAKE_BINARY_DIR}/lib ) +     if (WIN32) -      # we don't want to be forced to set two pathes into the build tree  -	  set(LIBRARY_OUTPUT_PATH  ${CMAKE_BINARY_DIR}/bin ) -   else (WIN32) -	  set(LIBRARY_OUTPUT_PATH  ${CMAKE_BINARY_DIR}/lib ) -   endif (WIN32) -    -   if (WIN32) -	# on win32 the install dir is determined on runtime not install time -	# KDELIBS_INSTALL_DIR and QT_INSTALL_DIR are used in KDELibsDependencies.cmake to setup  -    # kde install pathes and library dependencies -	get_filename_component(_DIR ${KDE4_KDECONFIG_EXECUTABLE} PATH ) -	get_filename_component(KDE4_INSTALL_DIR ${_DIR} PATH ) -	get_filename_component(_DIR ${QT_QMAKE_EXECUTABLE} PATH ) -	get_filename_component(QT_INSTALL_DIR ${_DIR} PATH ) +      # we don't want to be forced to set two paths into the build tree  +      set(LIBRARY_OUTPUT_PATH  ${CMAKE_BINARY_DIR}/bin ) + +      # on win32 the install dir is determined on runtime not install time +      # KDELIBS_INSTALL_DIR and QT_INSTALL_DIR are used in KDELibsDependencies.cmake to setup  +      # kde install paths and library dependencies +      get_filename_component(_DIR ${KDE4_KDECONFIG_EXECUTABLE} PATH ) +      get_filename_component(KDE4_INSTALL_DIR ${_DIR} PATH ) +      get_filename_component(_DIR ${QT_QMAKE_EXECUTABLE} PATH ) +      get_filename_component(QT_INSTALL_DIR ${_DIR} PATH )     endif (WIN32) -   +     # this file contains all dependencies of all libraries of kdelibs, Alex     include(${kde_cmake_module_dir}/KDELibsDependencies.cmake) | 
