cmake suppress finding package and set path manually -
i'm automating installation process multiple instances of application. application uses cmake
building , uses libraries no findmodule.cmake
files exist. since i'm find illustration how generate findmodule.cmake file existing libraries illustration opencascade. when setting buildprocess manually 1 can adapt include , lib path in ccmake
. since want automate i'm looking way passing options cmake
on command line. here how seek accomplish opencascade:
cmake -docc_found:internal=true -docc_include_dir:path=/usr/include/opencascade -docc_library:filepath=/usr/lib/libtkernel.so -dcmake_build_type:string=release ..
unfortunately doesn't work. since alternative building build-depended, passing configured cmakecache.txt
file not working. suggestions accomplish i'm trying do.
cmake include-path
No comments:
Post a Comment