Skip to content

Commit

Permalink
Use gcc-7 on OSX (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
henry0312 authored and guolinke committed May 7, 2017
1 parent 35440b9 commit 5bc6596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 2.8)

if(APPLE)
SET(CMAKE_CXX_COMPILER "g++-6")
SET(CMAKE_C_COMPILER "gcc-6")
SET(CMAKE_CXX_COMPILER "g++-7")
SET(CMAKE_C_COMPILER "gcc-7")
endif()

PROJECT(lightgbm)
Expand Down

0 comments on commit 5bc6596

Please sign in to comment.