your current CMakeLists.txt is problematic in case it is included as nested project. I am linking lua-zip statically with all other dependencies built from source so lookups for LIBZIP and LUA are not ideal in this case. So I adjusted CMakeLists.txt to make package lookups only in case LUA_INCLUDE_DIR and LIBZIP_INCLUDE_DIR are not specified.
cmod_zip was renamed to lua_zip because of parent project it would not be obvious what is cmod_zip.
Hi,
your current CMakeLists.txt is problematic in case it is included as nested project. I am linking lua-zip statically with all other dependencies built from source so lookups for LIBZIP and LUA are not ideal in this case. So I adjusted CMakeLists.txt to make package lookups only in case LUA_INCLUDE_DIR and LIBZIP_INCLUDE_DIR are not specified.
cmod_zip
was renamed tolua_zip
because of parent project it would not be obvious what iscmod_zip
.