Skip to content

Commit bc37dd5

Browse files
committed
revert changes to setup.py cmake
1 parent 1b8edf5 commit bc37dd5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,7 @@ def mac_libraw_compile():
228228
os.chdir(cmake_build)
229229

230230
install_name_dir = os.path.join(install_dir, 'lib')
231-
# CMAKE_PREFIX_PATH is set in build-macos.sh to point to libjpeg, libjasper, lcms2
232-
cmake_prefix_path = os.environ.get('CMAKE_PREFIX_PATH', '')
233-
cmake_prefix_path_arg = '-DCMAKE_PREFIX_PATH=' + cmake_prefix_path + ' ' if cmake_prefix_path else ''
234231
cmds = ['cmake .. -DCMAKE_BUILD_TYPE=Release ' +\
235-
cmake_prefix_path_arg +\
236232
'-DLIBRAW_PATH=' + libraw_dir + ' ' +\
237233
'-DENABLE_X3FTOOLS=ON -DENABLE_6BY9RPI=ON ' +\
238234
'-DENABLE_OPENMP=OFF ' +\

0 commit comments

Comments
 (0)