Skip to content

Commit

Permalink
Set IMPORTED_IMPLIB for importing pcl on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Sep 6, 2018
1 parent 2678147 commit a5ad749
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PCLConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,14 @@ foreach(component ${PCL_TO_FIND_COMPONENTS})
IMPORTED_CONFIGURATIONS "RELEASE;DEBUG"
IMPORTED_LOCATION_RELEASE "${PCL_${COMPONENT}_LIBRARY}"
IMPORTED_LOCATION_DEBUG "${PCL_${COMPONENT}_LIBRARY_DEBUG}"
IMPORTED_IMPLIB_RELEASE "${PCL_${COMPONENT}_LIBRARY}"
IMPORTED_IMPLIB_DEBUG "${PCL_${COMPONENT}_LIBRARY_DEBUG}"
)
else()
set_target_properties(${pcl_component}
PROPERTIES
IMPORTED_LOCATION "${PCL_${COMPONENT}_LIBRARY}"
IMPORTED_IMPLIB "${PCL_${COMPONENT}_LIBRARY}"
)
endif()
foreach(def ${PCL_DEFINITIONS})
Expand Down

0 comments on commit a5ad749

Please sign in to comment.