- Open CMake GUI
- set this folder to
where is the source code
- choose a build folder (e.g.
build2017-x64
) - Hit
Configure
thenGenerate
- Open the Project
- Compile the Solution (build Release and Debug)
- You should now have a
heif_shared.dll
in$YOUR_EXIV2_BUILD_PATH$ /lib/Release - In the
CMakeUserPaths.cmake
of your nomacs project, add this path:
SET(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} "$HEIF_PATH$/build2017-x64/")