Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMake] SofaMacros.cmake: deprecating sofa_create_package #909

Merged
Prev Previous commit
Next Next commit
Fix missing variable names in sofa_create_package
marques-bruno committed Feb 6, 2019
commit 7fd36f45442abad525a8ac485ce53f5543f3f085
2 changes: 1 addition & 1 deletion SofaKernel/SofaFramework/SofaMacros.cmake
Original file line number Diff line number Diff line change
@@ -415,7 +415,7 @@ endfunction()

macro(sofa_create_package package_name version the_targets include_subdir)
message(WARNING "Deprecated macro. Use the keyword argument function 'sofa_generate_package' instead")
sofa_generate_package("${package_name}" "${version}" "${the_targets}" "${include_subdir}")
sofa_generate_package(NAME "${package_name}" VERSION "${version}" TARGETS "${the_targets}" INCLUDE_ROOT_DIR "${include_subdir}")
endmacro()