
Linux user, but unfamiliar with cmake.
I have cg installed on a non-default directory because I worked with cuda.
How can I edit the CMakeLists.txt to instead of doing:
Thanks
I have cg installed on a non-default directory because I worked with cuda.
How can I edit the CMakeLists.txt to instead of doing:
Quote:check_lib(CG Cg Cg/cg.h)do something like this:
check_lib(CGGL CgGL Cg/cgGL.h)
Quote:add_include_dirs(/usr/local/nvidia-cg/include)
add_library_dirs(/usr/local/nvidia-cg/lib64)
Thanks