Merge pull request #40 from xantares/patch-1

Always use GNU install layout except MSVC
This commit is contained in:
nemtrif 2019-05-24 19:30:55 -04:00 committed by GitHub
commit 088dd3ad77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ target_include_directories(utf8cpp INTERFACE
add_library(utf8::cpp ALIAS utf8cpp)
if(UTF8_INSTALL)
if(WIN32 AND NOT CYGWIN)
if(MSVC)
set(DEF_INSTALL_CMAKE_DIR CMake)
else()
include(GNUInstallDirs) # define CMAKE_INSTALL_*