set(CMAKE_INCLUDE_CURRENT_DIR ON) set(NATIVE_SRC native.cpp ${CMAKE_SYSTEM_NAME}.cpp) add_library(NATIVE_LIB ${NATIVE_SRC})