You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm using the Xcode generator when building assimp I will get a compile failure trying to link against the gtest library due to the file being in the wrong location.
I believe the issue is caused by the fact that Xcode puts the built libraries into a folder with the configuration name (similar to MSVC) whereas assimp is expecting them to be placed in the root build folder.
What I suspect to be the offending code: AddGTest.cmake
I think that this can be fixed by testing to see if XCODE_VERSION is set and setting the appropriate directories but I'm not sure what else would need to change.
OS X version: 10.11.2
Xcode version: 7.2
CMake version: 3.3.2
Thank you very much for the hint. I tried to fix it. Please try it again with the latest master and give some feedback. Unfortunately I don't have any mac-systems to test the cmake-environment there.
If I'm using the Xcode generator when building assimp I will get a compile failure trying to link against the gtest library due to the file being in the wrong location.
I believe the issue is caused by the fact that Xcode puts the built libraries into a folder with the configuration name (similar to MSVC) whereas assimp is expecting them to be placed in the root build folder.
What I suspect to be the offending code:
AddGTest.cmake
I think that this can be fixed by testing to see if XCODE_VERSION is set and setting the appropriate directories but I'm not sure what else would need to change.
OS X version: 10.11.2
Xcode version: 7.2
CMake version: 3.3.2
Xcode error output from
cmake -G Xcode .. && cmake --build .
The text was updated successfully, but these errors were encountered: