Skip to content

Commit

Permalink
Last round of tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jan 18, 2017
1 parent e019a53 commit a2ac019
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/app/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ QStringList App::nodePaths() const
// If we're running Antimony from the build folder, use sb/nodes
paths << applicationDirPath() + "/sb/nodes";
paths << applicationDirPath() + "/../share/antimony/nodes";
#elif defined Q_OS_WIN32
// Windows only supports running from the build directory
paths << applicationDirPath() + "/sb/nodes";
#else
#error "Unknown OS!"
#endif
Expand Down
3 changes: 3 additions & 0 deletions app/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ int main(int argc, char *argv[])
fab_paths.push_back(p.toStdString());
}
fab::postInit(fab_paths);
#elif defined Q_OS_WIN32
auto dir = QCoreApplication::applicationDirPath();
fab::postInit({(dir + "/sb").toStdString()});
#else
#error "Unknown OS!"
#endif
Expand Down
2 changes: 1 addition & 1 deletion lib/graph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ target_include_directories(SbGraph SYSTEM PRIVATE
${Boost_INCLUDE_DIRS}
)
target_link_libraries(SbGraph
${PYTHON_LIBRARY}
${Boost_LIBRARIES}
${PYTHON_LIBRARY}
)
target_include_directories(SbGraph PUBLIC inc)

Expand Down

0 comments on commit a2ac019

Please sign in to comment.