Dear all,

I am writting cmake file to build library libVisionComponents that
includes sources from subdirectories (each subdir is different
component). In the main cmake file, sources and headers are listed as
ComponentName/File.cpp. The library is compiled successfully, but when
I install it with command:

INSTALL(FILES ${COMPONENT_HEADERS} DESTINATION include/vision)

The problem is that headers are installed in include/vision/components
and not include/vision/components/ComponentName as I hoped. Is there a
way to overcome this?

cheers,
Gregor

--
Gregor Berginc, Ph.D. Student
University of Ljubljana, Faculty of CIS
Trzaska 25, SI-1001 Ljubljana, Slovenia
tel: +386 1 4776630, fax: +386 1 4264647
www: http://vicos.fri.uni-lj.si/gregor
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to