File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2525
2626#  Install liblensfun
2727pushd  external/lensfun
28- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=off -DINSTALL_HELPER_SCRIPTS=off . 
28+ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=off -DINSTALL_HELPER_SCRIPTS=off -DCMAKE_POLICY_VERSION_MINIMUM=3.5  . 
2929make
3030make install -j$( nproc) 
3131echo  " /usr/local/lib64" |  tee /etc/ld.so.conf.d/99local.conf
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ def windows_lensfun_compile():
147147    with  open (patch_path , 'w' ) as  f :
148148        f .write (content )
149149    cmds  =  [cmake  +  ' .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release '  + \
150+                     '-DCMAKE_POLICY_VERSION_MINIMUM=3.5 '  + \
150151                    '-DBUILD_TESTS=off -DINSTALL_HELPER_SCRIPTS=off '  + \
151152                    '-DCMAKE_TOOLCHAIN_FILE={}/scripts/buildsystems/vcpkg.cmake ' .format (vcpkg_dir ) + \
152153                    '-DGLIB2_BASE_DIR={} -DGLIB2_DLL={} -DCMAKE_INSTALL_PREFIX=install' .format (vcpkg_install_dir , glib2_dll ),
@@ -186,6 +187,7 @@ def mac_lensfun_compile():
186187    os .chdir (cmake_build )
187188    install_name_dir  =  os .path .join (install_dir , 'lib' )
188189    cmds  =  ['cmake .. -DCMAKE_BUILD_TYPE=Release '  + \
190+                     '-DCMAKE_POLICY_VERSION_MINIMUM=3.5 '  + \
189191                    '-DBUILD_TESTS=off -DINSTALL_HELPER_SCRIPTS=off '  + \
190192                    '-DCMAKE_INSTALL_PREFIX=install '  + \
191193                    '-DCMAKE_INSTALL_NAME_DIR='  +  install_name_dir ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments