Set BIN_INSTALL_DIR to "." instead of an empty string on Windows and Mac OS.

This commit is contained in:
Felix Geyer 2012-07-02 22:13:13 +02:00
parent e050385e27
commit a4121f8b5a

View File

@ -132,10 +132,10 @@ if(APPLE AND "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local")
endif()
if(MINGW)
set(BIN_INSTALL_DIR "")
set(BIN_INSTALL_DIR ".")
set(DATA_INSTALL_DIR "share")
elseif(APPLE)
set(BIN_INSTALL_DIR "")
set(BIN_INSTALL_DIR ".")
set(DATA_INSTALL_DIR "${PROGNAME}.app/Contents/Resources")
else()
set(BIN_INSTALL_DIR "bin")