Zeex / sampgdk

Write SA-MP gamemodes in C/C++
http://zeex.github.io/sampgdk
Apache License 2.0
156 stars 83 forks source link

Fix binary directory not pointing to correct directory #208

Closed grasmanek94 closed 5 years ago

grasmanek94 commented 5 years ago

CMAKE_CURRENT_BINARY_DIR should be used here instead of CMAKE_BINARY_DIR when using in subproject where the output of sub cmake projects could be in BinaryDirectory/subproject/, CMAKE_BINARY_DIR points to BinaryDirectory/ in that case and the python scripts can not be found.

Zeex commented 5 years ago

Thanks 👍