Skip to content

Commit

Permalink
Install mex files in the location appropriate for shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Feb 4, 2015
1 parent 9036939 commit f1e9cc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/asl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,12 @@ if (MATLAB_FOUND)
COMPILE_FLAGS -I${CMAKE_CURRENT_BINARY_DIR}
-I${solvers_dir} ${MP_MEX_OPTIONS}
LIBRARIES ${matlab_asl})
install(FILES $<TARGET_PROPERTY:${name},FILENAME> DESTINATION bin)
if (WIN32)
set(mex_install_dir bin)
else ()
set(mex_install_dir lib)
endif ()
install(FILES $<TARGET_PROPERTY:${name},FILENAME> DESTINATION ${mex_install_dir})
endforeach ()
endif ()

Expand Down

0 comments on commit f1e9cc3

Please sign in to comment.