CMAKE_SYSTEM_NAME is changed after specifying project
I'm not sure if this a bug, but it seems like it might be. If you pass the following in via the command line:
-DCMAKE_SYSTEM_NAME=WindowsStore
The CMAKE_SYSTEM_NAME
variable gets reset to "Windows" after calling project(MyProject)
. I think that in this instance, the variable should remain "WindowsStore".
Edited by Nathan Moinvaziri