cmake_minimum_required(VERSION 2.8) project(zt_go_native) set(src GoNode.cpp ) set(headers GoNode.h ) add_library(${PROJECT_NAME} STATIC ${src} ${headers}) target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)