CREATE_PROJECT: Fix creating CMake projects outside of the main source directory
This commit is contained in:
parent
3fc6680f4f
commit
90299eb73e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void CMakeProvider::createWorkspace(const BuildSetup &setup) {
|
||||||
workspace << "# Generate options for the engines\n";
|
workspace << "# Generate options for the engines\n";
|
||||||
writeEngineOptions(workspace);
|
writeEngineOptions(workspace);
|
||||||
|
|
||||||
workspace << "include_directories(${" << setup.projectDescription << "_SOURCE_DIR} ${" << setup.projectDescription << "_SOURCE_DIR}/engines "
|
workspace << "include_directories(${" << setup.projectDescription << "_SOURCE_DIR}/" << setup.filePrefix << " ${" << setup.projectDescription << "_SOURCE_DIR}/" << setup.filePrefix << "/engines "
|
||||||
"$ENV{"<<LIBS_DEFINE<<"}/include .)\n\n";
|
"$ENV{"<<LIBS_DEFINE<<"}/include .)\n\n";
|
||||||
|
|
||||||
workspace << "# Libraries and features\n\n";
|
workspace << "# Libraries and features\n\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue