Skip to content

Commit

Permalink
Chage default location of base.jd.
Browse files Browse the repository at this point in the history
It is now installed to <prefix>/share/jade-engine instead of just
<prefix>/share.
This path is now also looked for in main().
  • Loading branch information
Oberon00 committed Jun 25, 2013
1 parent be95e95 commit a58083b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base.jd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ add_custom_target(basejd ALL
DEPENDS ${basejdout}
SOURCES ${SRCS})

install(FILES ${basejdout} DESTINATION share)
install(FILES ${basejdout} DESTINATION "share/jade-engine")
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ int main(int argc, char* argv[])
std::vector<std::string> baselibpaths;
baselibpaths.push_back(programpath + "/base.jd");
baselibpaths.push_back(programpath + "/../base.jd");
baselibpaths.push_back(programpath + "/../share/jade-engine/base.jd");
baselibpaths.push_back(programpath + "/../share/base.jd");
baselibpaths.push_back(basepath + "/base.jd");
baselibpaths.push_back("./base.jd");
Expand Down

0 comments on commit a58083b

Please sign in to comment.