early-access version 2853
This commit is contained in:
23
externals/vcpkg/ports/chmlib/CMakeLists.txt
vendored
Executable file
23
externals/vcpkg/ports/chmlib/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
project(chm C)
|
||||
|
||||
add_library(chm src/lzx.c src/chm_lib.c)
|
||||
|
||||
if(BUILD_TOOLS)
|
||||
link_libraries(chm)
|
||||
add_executable(enum_chmLib src/enum_chmLib.c)
|
||||
add_executable(enumdir_chmLib src/enumdir_chmLib.c)
|
||||
add_executable(extract_chmLib src/extract_chmLib.c)
|
||||
|
||||
install(TARGETS enum_chmLib extract_chmLib enumdir_chmLib
|
||||
RUNTIME DESTINATION tools/chmlib
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
endif()
|
||||
|
||||
install(TARGETS chm
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
Reference in New Issue
Block a user