diff options
author | Sai Sasidhar Maddali <sai.sasidhar92@gmail.com> | 2016-02-17 14:49:57 +0100 |
---|---|---|
committer | Sai Sasidhar Maddali <sai.sasidhar92@gmail.com> | 2016-03-15 15:33:53 +0100 |
commit | 07794e9c5d39521679d8a4d6d9707f4ab7c55ac4 (patch) | |
tree | 870827a19cbfaa0451b503f3d2dbc92c966c1554 /cmake/ConfigurePaths.cmake | |
parent | 6c2c19d1101a043cc0b05065447cc9321ed32ac0 (diff) | |
download | libuca-07794e9c5d39521679d8a4d6d9707f4ab7c55ac4.tar.gz libuca-07794e9c5d39521679d8a4d6d9707f4ab7c55ac4.tar.bz2 libuca-07794e9c5d39521679d8a4d6d9707f4ab7c55ac4.tar.xz libuca-07794e9c5d39521679d8a4d6d9707f4ab7c55ac4.zip |
Win specific configure path for library installation path
Diffstat (limited to 'cmake/ConfigurePaths.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") |