fix compilation on macOS

This commit is contained in:
Philipp Moritz
2016-07-25 13:21:31 -07:00
parent 5f337db809
commit 0dcfcfa2e9
+1
View File
@@ -70,6 +70,7 @@ add_library(numbuf SHARED
python/src/pynumbuf/adapters/numpy.cc
python/src/pynumbuf/adapters/python.cc)
get_filename_component(PYTHON_SHARED_LIBRARY ${PYTHON_LIBRARIES} NAME)
if(APPLE)
add_custom_command(TARGET numbuf
POST_BUILD COMMAND