diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2016-03-15 16:02:59 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2016-03-15 16:02:59 +0100 |
commit | f0d736e94d16921c2cbf2081baf9296c967cbe1d (patch) | |
tree | 2fccc4bbb815d90ec6d18c18782cc46775e90a3b /cmake | |
parent | f8d3dc2c2372b79c76d313696e98f9b2932f9ea6 (diff) | |
parent | 61054956f111b2fe18be59efc19e573d3d41efd7 (diff) | |
download | libuca-f0d736e94d16921c2cbf2081baf9296c967cbe1d.tar.gz libuca-f0d736e94d16921c2cbf2081baf9296c967cbe1d.tar.bz2 libuca-f0d736e94d16921c2cbf2081baf9296c967cbe1d.tar.xz libuca-f0d736e94d16921c2cbf2081baf9296c967cbe1d.zip |
Merge pull request #75 from saisasidhar/master
Building libuca for Windows
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/ConfigurePaths.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/ConfigurePaths.cmake b/cmake/ConfigurePaths.cmake index df9c03c..3f45a19 100644 --- a/cmake/ConfigurePaths.cmake +++ b/cmake/ConfigurePaths.cmake @@ -75,7 +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") - _set_var("${_prefix}" "LIBDIR" "${LIBDIR}" "${${_prefix}_EPREFIX}/lib" "object code libraries") + 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") |