intel / IntelSEAPI

IntelSEAPI
201 stars 53 forks source link

Does not cleanly cross-compile #27

Closed raphaelcohn closed 3 years ago

raphaelcohn commented 6 years ago

This is because all of the CMakeLists.txt files use the variables WIN32, APPLE, ANDROID (or in one place, ANDROID_NDK) and their NOT forms.

Simply replacing these with the CMAKE syntax if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") and the like fixes these.

araud commented 6 years ago

please submit the fix?

raphaelcohn commented 6 years ago

Probably not right now, but a forked copy to support a Rust wrapper I've tried to write is here:-

https://github.com/intel/IntelSEAPI/compare/master...raphaelcohn:musl