Skip to content

Commit ec65d7b

Browse files
committed
Remove specific compiler in macOS
Remove specific compiler in macOS
1 parent e988aec commit ec65d7b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ endif()
103103

104104

105105
## Reference: https://stackoverflow.com/a/45934279/6667035
106-
if(APPLE) # Reference: https://stackoverflow.com/a/40152725/6667035
107-
set(CMAKE_C_COMPILER "/usr/local/bin/gcc")
108-
set(CMAKE_CXX_COMPILER "/usr/local/bin/g++-15")
106+
#if(APPLE) # Reference: https://stackoverflow.com/a/40152725/6667035
107+
# set(CMAKE_C_COMPILER "/usr/local/bin/gcc")
108+
# set(CMAKE_CXX_COMPILER "/usr/local/bin/g++-15")
109109
# Reference: https://developer.apple.com/forums/thread/737707
110110
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie")
111-
endif()
111+
#endif()
112112

113113
if(UNIX AND NOT APPLE)
114114
# for Linux, BSD, Solaris, Minix

0 commit comments

Comments
 (0)