"examples/mxnet/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "9a0511c8e91a7f633c9c3292fccbcbad5281d1f5"
Commit 6178838e authored by Davis King's avatar Davis King
Browse files

Made the MATLAB_MEX_FILE #define get set globally to avoid any possibility of

ODR violations.
parent 03bfd6f3
...@@ -54,7 +54,8 @@ INCLUDE_DIRECTORIES("${dlib_matlab_binding_path}") ...@@ -54,7 +54,8 @@ INCLUDE_DIRECTORIES("${dlib_matlab_binding_path}")
# Also add dlib to the include search path # Also add dlib to the include search path
INCLUDE_DIRECTORIES(${dlib_matlab_binding_path}/../..) INCLUDE_DIRECTORIES(${dlib_matlab_binding_path}/../..)
ADD_DEFINITIONS(-DMATLAB_MEX_FILE) include(${dlib_matlab_binding_path}/../add_global_compiler_switch.cmake)
add_global_define(MATLAB_MEX_FILE)
# Determine the path to our CMakeLists.txt file. This is the file that # Determine the path to our CMakeLists.txt file. This is the file that
# includeded the one you are reading right now. So here we make it so that # includeded the one you are reading right now. So here we make it so that
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment