biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / radio / gnss-sdr / fix_libcpu_features_install_path.patch
blob4ff86bfab4bede71affd994562308a3919ef46ef
1 --- i/CMakeLists.txt
2 +++ w/CMakeLists.txt
3 @@ -1233,7 +1233,7 @@ if(NOT VOLKGNSSSDR_FOUND)
4 BINARY_DIR ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/build
5 CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS}
6 -DCMAKE_BUILD_TYPE=$<$<CONFIG:None>:None>$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>$<$<CONFIG:RelWithDebInfo>:RelWithDebInfo>$<$<CONFIG:MinSizeRel>:MinSizeRel>$<$<CONFIG:NoOptWithASM>:NoOptWithASM>$<$<CONFIG:Coverage>:Coverage>$<$<CONFIG:O2WithASM>:O2WithASM>$<$<CONFIG:O3WithASM>:O3WithASM>$<$<CONFIG:ASAN>:ASAN>
7 - -DCMAKE_INSTALL_LIBDIR=${CMAKE_INSTALL_LIBDIR}
8 + -DCMAKE_INSTALL_LIBDIR=lib
9 DOWNLOAD_COMMAND ""
10 UPDATE_COMMAND ""
11 PATCH_COMMAND ""
12 @@ -1274,7 +1274,7 @@ if(NOT VOLKGNSSSDR_FOUND)
14 set(VOLK_GNSSSDR_BUILD_BYPRODUCTS
15 ${VOLK_GNSSSDR_BUILD_BYPRODUCTS}
16 - ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/${CMAKE_INSTALL_LIBDIR}/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX}
17 + ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/lib/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX}
19 endif()
20 endif()
21 @@ -1287,7 +1287,7 @@ if(NOT VOLKGNSSSDR_FOUND)
22 BINARY_DIR ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/build
23 CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS}
24 -DCMAKE_BUILD_TYPE=$<$<CONFIG:None>:None>$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>$<$<CONFIG:RelWithDebInfo>:RelWithDebInfo>$<$<CONFIG:MinSizeRel>:MinSizeRel>$<$<CONFIG:NoOptWithASM>:NoOptWithASM>$<$<CONFIG:Coverage>:Coverage>$<$<CONFIG:O2WithASM>:O2WithASM>$<$<CONFIG:O3WithASM>:O3WithASM>$<$<CONFIG:ASAN>:ASAN>
25 - -DCMAKE_INSTALL_LIBDIR=${CMAKE_INSTALL_LIBDIR}
26 + -DCMAKE_INSTALL_LIBDIR=lib
27 DOWNLOAD_COMMAND ""
28 UPDATE_COMMAND ""
29 PATCH_COMMAND ""
30 @@ -1306,7 +1306,7 @@ if(NOT VOLKGNSSSDR_FOUND)
31 BINARY_DIR ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/build
32 CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS}
33 -DCMAKE_BUILD_TYPE=$<$<CONFIG:None>:None>$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>$<$<CONFIG:RelWithDebInfo>:RelWithDebInfo>$<$<CONFIG:MinSizeRel>:MinSizeRel>$<$<CONFIG:NoOptWithASM>:NoOptWithASM>$<$<CONFIG:Coverage>:Coverage>$<$<CONFIG:O2WithASM>:O2WithASM>$<$<CONFIG:O3WithASM>:O3WithASM>$<$<CONFIG:ASAN>:ASAN>
34 - -DCMAKE_INSTALL_LIBDIR=${CMAKE_INSTALL_LIBDIR}
35 + -DCMAKE_INSTALL_LIBDIR=lib
36 DOWNLOAD_COMMAND ""
37 UPDATE_COMMAND ""
38 PATCH_COMMAND ""
39 @@ -1346,7 +1346,7 @@ if(NOT VOLKGNSSSDR_FOUND)
40 if(CMAKE_VERSION VERSION_GREATER 3.0 AND SUPPORTED_CPU_FEATURES_ARCH)
41 if(NOT CPUFEATURES_FOUND AND ENABLE_CPUFEATURES)
42 set_target_properties(Volkgnsssdr::volkgnsssdr PROPERTIES
43 - INTERFACE_LINK_LIBRARIES ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/${CMAKE_INSTALL_LIBDIR}/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX}
44 + INTERFACE_LINK_LIBRARIES ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/lib/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX}
46 endif()
47 endif()