diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-03-16 09:15:33 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-03-16 09:15:33 +0100 |
commit | 085189dcb66e9d45be261b6d49dcb9a45ac01901 (patch) | |
tree | 88dab826ff0b86e2c0d8a889d2974a8902afa526 | |
parent | f0d736e94d16921c2cbf2081baf9296c967cbe1d (diff) | |
download | libuca-085189dcb66e9d45be261b6d49dcb9a45ac01901.tar.gz libuca-085189dcb66e9d45be261b6d49dcb9a45ac01901.tar.bz2 libuca-085189dcb66e9d45be261b6d49dcb9a45ac01901.tar.xz libuca-085189dcb66e9d45be261b6d49dcb9a45ac01901.zip |
Use consistent syntax in ConfigurePaths module
-rw-r--r-- | cmake/ConfigurePaths.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/ConfigurePaths.cmake b/cmake/ConfigurePaths.cmake index 3f45a19..d5449f4 100644 --- a/cmake/ConfigurePaths.cmake +++ b/cmake/ConfigurePaths.cmake @@ -75,11 +75,11 @@ function(configure_paths _prefix) _set_var("${_prefix}" "SYSCONFDIR" "${SYSCONFDIR}" "${${_prefix}_PREFIX}/etc" "read-only single-machine data") _set_var("${_prefix}" "LOCALSTATEDIR" "${LOCALSTATEDIR}" "${${_prefix}_PREFIX}/var" "modifiable single-machine data") _set_var("${_prefix}" "BINDIR" "${BINDIR}" "${${_prefix}_EPREFIX}/bin" "user executables") - IF(WIN32) - _set_var("${_prefix}" "LIBDIR" "${LIBDIR}" "${${_prefix}_EPREFIX}/bin" "object code libraries") - ELSE() - _set_var("${_prefix}" "LIBDIR" "${LIBDIR}" "${${_prefix}_EPREFIX}/lib" "object code libraries") - ENDIF() +if(WIN32) + _set_var("${_prefix}" "LIBDIR" "${LIBDIR}" "${${_prefix}_EPREFIX}/bin" "object code libraries") +else() + _set_var("${_prefix}" "LIBDIR" "${LIBDIR}" "${${_prefix}_EPREFIX}/lib" "object code libraries") +endif() _set_var("${_prefix}" "INCLUDEDIR" "${INCLUDEDIR}" "${${_prefix}_PREFIX}/include" "C header files") _set_var("${_prefix}" "PKGCONFIGDIR" "${PKGCONFIGDIR}" "${${_prefix}_LIBDIR}/pkgconfig" "pkg-config files") _set_var("${_prefix}" "TYPELIBDIR" "${TYPELIBDIR}" "${${_prefix}_LIBDIR}/girepository-1.0" "GObject run-time introspection data") |