mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
CMake: get rid of some commented code.
It says that's for Win32 platform and uses the install prefix as library prefix. But that's not at all the same kind of prefixes! CMAKE_INSTALL_PREFIX expected value is the path to install the lib (what is called the "installation prefix"), whereas CMAKE_*_LIBRARY_PREFIX are the prefix on the file name (usually "lib" on UNIX-like systems). Anyway I don't see a need to change this value. It will be called "libuchardet.dll" on Win32. I don't see the problem. Also this code was already commented out, and compilation and usage for Win32 works just fine without it. :-)
This commit is contained in:
parent
cd617d181d
commit
df67ae4fe0
@ -23,13 +23,6 @@ set (
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
######## Windows
|
||||
|
||||
#if (WIN32)
|
||||
# set(CMAKE_SHARED_LIBRARY_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
# set(CMAKE_STATIC_LIBRARY_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
#endif (WIN32)
|
||||
|
||||
######## Directory
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user