Skip to content

blep/unrar-cmake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unrar-cmake

CMake project for unrar and libunrar

How do I include this in my project?

Clone this repository into your thirdparty directory.

# CMakeLists.txt
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH} thirdparty/unrar-cmake/cmake/modules")

find_package(libunrar REQUIRED)
if (LIBUNRAR_FOUND)
  target_include_directories(mytarget PUBLIC ${LIBUNRAR_INCLUDE_DIR})
  target_link_libraries(mytarget ${LIBUNRAR_LIBRARY})
endif()

About

CMake project for unrar and libunrar

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CMake 99.1%
  • C 0.9%