mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 02:48:52 +00:00
Merge pull request #4342
6929b524
Windows: don't preset CMAKE_SYSTEM_NAME (iDunk5400)
This commit is contained in:
commit
11dbfbc5b3
@ -26,7 +26,9 @@
|
|||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
if (NOT CMAKE_HOST_WIN32)
|
||||||
set (CMAKE_SYSTEM_NAME Windows)
|
set (CMAKE_SYSTEM_NAME Windows)
|
||||||
|
endif()
|
||||||
|
|
||||||
set (GCC_PREFIX i686-w64-mingw32)
|
set (GCC_PREFIX i686-w64-mingw32)
|
||||||
set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc)
|
set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc)
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
if (NOT CMAKE_HOST_WIN32)
|
||||||
set (CMAKE_SYSTEM_NAME Windows)
|
set (CMAKE_SYSTEM_NAME Windows)
|
||||||
|
endif()
|
||||||
|
|
||||||
set (GCC_PREFIX x86_64-w64-mingw32)
|
set (GCC_PREFIX x86_64-w64-mingw32)
|
||||||
set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc)
|
set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc)
|
||||||
|
Loading…
Reference in New Issue
Block a user