environment variables - setting external library /bin folder in cmake in windows -
my question related pcl installation , here goes:
i compiled pcl using msvc2013 , updated manually pclconfig.cmake point dependences (3rdparty libs). problem want set binaries /bin folders in same cmake file (instead of adding /bin environment variables). there way ?
what makes question pertinent i'am testing different versions of pcl (1.6, 1.7, 1.8...), won't adding /bin folders path of these versions create kind of confict between them afterwards (in retreive step) ?
*to clear, succeded that, using cmake, can choose pclconfig of pcl version want, when running program (succefully compiled), throws missing pcl_****.dll missing, logic because pcl/bin folder not added system environement. so, question "can add pcl/bin floder project environment using cmakelists of project? (instead of adding system environment)"
thanks in advance.
a temporary fix found generating project specified pcl version wanted , adding bin folders manually in msvc 2013 :
debugging->environment << path=path_to_lib\lib;%path%
tsyvarev, i'm looking proposition , i'll let know if worked. looks cleaner way... cheers,
Comments
Post a Comment