cmake_minimum_required(VERSION 3.12) project(test-lief) add_executable(test-lief test-lief.cpp) link_directories($ENV{PREFIX}/lib) include_directories($ENV{PREFIX}/include) target_link_libraries(test-lief LIEF)