{"action":"created","issue":{"url":"https://api.github.com/repos/assimp/assimp/issues/498","labels_url":"https://api.github.com/repos/assimp/assimp/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/assimp/assimp/issues/498/comments","events_url":"https://api.github.com/repos/assimp/assimp/issues/498/events","html_url":"https://github.com/assimp/assimp/issues/498","id":62055507,"number":498,"title":"assimp-config.cmake only returns debug library","user":{"login":"danijar","id":2111293,"avatar_url":"https://avatars.githubusercontent.com/u/2111293?v=3","gravatar_id":"","url":"https://api.github.com/users/danijar","html_url":"https://github.com/danijar","followers_url":"https://api.github.com/users/danijar/followers","following_url":"https://api.github.com/users/danijar/following{/other_user}","gists_url":"https://api.github.com/users/danijar/gists{/gist_id}","starred_url":"https://api.github.com/users/danijar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danijar/subscriptions","organizations_url":"https://api.github.com/users/danijar/orgs","repos_url":"https://api.github.com/users/danijar/repos","events_url":"https://api.github.com/users/danijar/events{/privacy}","received_events_url":"https://api.github.com/users/danijar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T11:52:07Z","updated_at":"2015-08-04T03:54:51Z","closed_at":"2015-08-04T03:54:51Z","body":"Integrating Assimp into my CMake build system, I notices the following lines in `<install>/lib/cmake/assimp-3.1/assimp-config.cmake` that add a `d` postfix to the library file. However, I compiles Assimp in release mode, so the file is named `assimp-vc120-mt.lib`.\r\n\r\n    set( ASSIMP_LIBRARIES assimp${ASSIMP_LIBRARY_SUFFIX})\r\n    set( ASSIMP_LIBRARIES ${ASSIMP_LIBRARIES}d)\r\n\r\nFirst, I think the script should be aware of `CMAKE_DEBUG_POSTFIX`. Bug more importantly, I think it should only append the postfix if `CMAKE_BUILD_TYPE` is set to debug. Is this a bug?"},"comment":{"url":"https://api.github.com/repos/assimp/assimp/issues/comments/127470730","html_url":"https://github.com/assimp/assimp/issues/498#issuecomment-127470730","issue_url":"https://api.github.com/repos/assimp/assimp/issues/498","id":127470730,"user":{"login":"danijar","id":2111293,"avatar_url":"https://avatars.githubusercontent.com/u/2111293?v=3","gravatar_id":"","url":"https://api.github.com/users/danijar","html_url":"https://github.com/danijar","followers_url":"https://api.github.com/users/danijar/followers","following_url":"https://api.github.com/users/danijar/following{/other_user}","gists_url":"https://api.github.com/users/danijar/gists{/gist_id}","starred_url":"https://api.github.com/users/danijar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danijar/subscriptions","organizations_url":"https://api.github.com/users/danijar/orgs","repos_url":"https://api.github.com/users/danijar/repos","events_url":"https://api.github.com/users/danijar/events{/privacy}","received_events_url":"https://api.github.com/users/danijar/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T03:54:51Z","updated_at":"2015-08-04T03:54:51Z","body":"Wow, I just realized that I found the same bug twice. Here is [the new issue][1] with a slightly better description.\r\n\r\n[1]: https://github.com/assimp/assimp/issues/620"}}