cmake_minimum_required(VERSION 3.5) project(swipl-windows) include("../cmake/PrologPackage.cmake") if(WIN32) swipl_plugin( windows MODULE plregtry C_SOURCES plregtry.c PL_LIBS registry.pl) endif()