blob: b5b3dbd96ff16660dd61d46fc7a20dc3b1454c16 (
plain)
1 diff -Naur dragonbox-1.1.3.orig/CMakeLists.txt dragonbox-1.1.3/CMakeLists.txt
2 --- dragonbox-1.1.3.orig/CMakeLists.txt 2022-07-17 01:40:02.730339794 +0200
3 +++ dragonbox-1.1.3/CMakeLists.txt 2022-07-17 01:42:08.326148387 +0200
4 @@ -57,8 +57,7 @@
5 "When invoked with --install, dragonbox_to_chars.h/.cpp are installed along with dragonbox.h"
6 On)
7
8 -set(dragonbox_directory "dragonbox-${PROJECT_VERSION}")
9 -set(dragonbox_include_directory "${CMAKE_INSTALL_INCLUDEDIR}/${dragonbox_directory}")
10 +set(dragonbox_include_directory "${CMAKE_INSTALL_INCLUDEDIR}/")
11 set(dragonbox_install_targets "dragonbox")
12
13 if (DRAGONBOX_INSTALL_TO_CHARS)
14 @@ -73,6 +72,7 @@
15 INCLUDES #
16 DESTINATION "${dragonbox_include_directory}")
17
18 +set(dragonbox_directory "dragonbox-${PROJECT_VERSION}")
19 set(dragonbox_install_cmakedir "${CMAKE_INSTALL_LIBDIR}/cmake/${dragonbox_directory}")
20
21 write_basic_package_version_file(
22 @@ -120,4 +120,4 @@
23 /Zi /permissive-
24 $<$<NOT:$<CXX_COMPILER_ID:Clang>>:/experimental:newLambdaProcessor>
25 $<$<CONFIG:Release>:/GL>)
26 -endif()
27 \ No newline at end of file
28 +endif()
|