mirror of
https://github.com/nemtrif/utfcpp.git
synced 2025-04-05 05:25:07 +00:00
cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR}
This commit is contained in:
parent
e6bde7819c
commit
fd39f7efb1
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ add_library(utf8::cpp ALIAS utf8cpp)
|
|||
if(WIN32 AND NOT CYGWIN)
|
||||
set(DEF_INSTALL_CMAKE_DIR CMake)
|
||||
else()
|
||||
include(GNUInstallDirs) # define CMAKE_INSTALL_*
|
||||
set(DEF_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/utf8cpp)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue