summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-03-19 08:45:54 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-03-19 08:45:54 +0100
commitcfa9fc619267fd14999949bb3d8a83d4273f43af (patch)
tree3b23e1ee7ea369e791014d7c2c3b96a4961485c5
parent10c66a8b1c7ee44e4498e32cad76d19e107db739 (diff)
downloadcmocka-cfa9fc619267fd14999949bb3d8a83d4273f43af.tar.gz
cmocka-cfa9fc619267fd14999949bb3d8a83d4273f43af.tar.bz2
cmocka-cfa9fc619267fd14999949bb3d8a83d4273f43af.zip
cmake: Try to fix problems with installation on other platforms.
-rw-r--r--cmake/Modules/DefineInstallationPaths.cmake10
1 files changed, 3 insertions, 7 deletions
diff --git a/cmake/Modules/DefineInstallationPaths.cmake b/cmake/Modules/DefineInstallationPaths.cmake
index 71e1e85..14507ed 100644
--- a/cmake/Modules/DefineInstallationPaths.cmake
+++ b/cmake/Modules/DefineInstallationPaths.cmake
@@ -90,18 +90,14 @@ if (UNIX)
"${SHARE_INSTALL_PREFIX}/info"
CACHE PATH "The ${APPLICATION_NAME} info install dir (default prefix/info)"
)
-endif (UNIX)
-
-if (WIN32)
- # Same same
+else()
set(BIN_INSTALL_DIR "bin" CACHE PATH "-")
set(SBIN_INSTALL_DIR "." CACHE PATH "-")
- set(LIB_INSTALL_DIR "lib" CACHE PATH "-")
+ set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "-")
set(INCLUDE_INSTALL_DIR "include" CACHE PATH "-")
set(PLUGIN_INSTALL_DIR "plugins" CACHE PATH "-")
set(HTML_INSTALL_DIR "doc/HTML" CACHE PATH "-")
set(ICON_INSTALL_DIR "." CACHE PATH "-")
set(SOUND_INSTALL_DIR "." CACHE PATH "-")
set(LOCALE_INSTALL_DIR "lang" CACHE PATH "-")
-endif (WIN32)
-
+endif ()