Commit 0677e78b authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Fix generated CMakeLists.txt

parent f8815487
Pipeline #115697 passed with stages
in 15 minutes and 27 seconds
......@@ -27,14 +27,14 @@ bool repr_cpp_cmakeLists(const PTabGraphToken & tabGraphToken){
lib.getListSources().push_back(it->getBaseName() + ".cpp");
lib.getListHeaders().push_back(it->getBaseName() + ".h");
}
lib.setInstallDirectory("lib");
lib.setInstallDirectory("${LIBRARY_DIRECTORY}");
PCMakeListsGenerator cmake;
cmake.setProjectName(tabGraphToken.getName());
cmake.setCmakeModulePath("${CMAKE_INSTALL_PREFIX}/share/cmake");
cmake.getListLibraries().push_back(lib);
cmake.getListPackage().push_back("Phoenix_CORE");
// cmake.getListPackage().push_back("Phoenix_CORE");
if(!saveCMakeListsGenerator("CMakeLists.txt", cmake)){
cerr << "repr_cpp_cmakeLists : can't save file 'CMakeLists.txt'" << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment