cmake - How to include Assimp with CMakeLists? -
i'm unable include external library assimp project using cmakelists.
i got working doing:
add_subdirectory(${cmake_source_dir}/external/assimp-3.1.1-win-binaries) include_directories(${cmake_source_dir}/external/assimp-3.1.1-win-binaries/include) target_link_libraries(myproject assimp)
but don't want use add_subdirectoy since adds ide. (visual studios 2013)
why unable include assimp include directory , link project this?
include_directories(${cmake_source_dir}/external/assimp-3.1.1-win-binaries/include) link_directories(${cmake_source_dir}/external/assimp-3.1.1-win-binaries/lib32/) target_link_libraries(myproject assimp)
Comments
Post a Comment