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 compilation failures on some systems caused by improper paths to …
…CImg
  • Loading branch information
marques-bruno committed Jan 31, 2019
commit 4a23679a7c7b067c3ccb1d9f765956da3e4fe877
2 changes: 1 addition & 1 deletion applications/plugins/CImgPlugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CUR
target_include_directories(${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${CImg_INCLUDE_DIRS}>")

## Install rules for the library; CMake package configurations files
sofa_generate_package(NAME ${PROJECT_NAME} VERSION ${${PROJECT_NAME}_VERSION} TARGETS ${PROJECT_NAME} INCLUDES ${PROJECT_NAME})
sofa_generate_package(NAME ${PROJECT_NAME} VERSION ${${PROJECT_NAME}_VERSION} TARGETS ${PROJECT_NAME})

if(SOFA_BUILD_TESTS)
find_package(SofaTest QUIET)