|
|
@ -55,11 +55,6 @@ else () |
|
|
|
message(WARNING "Your compiler is not tested, if you run into any issues, we'd welcome any patches.") |
|
|
|
endif () |
|
|
|
|
|
|
|
# Set stack memory limits |
|
|
|
if (APPLE) |
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-stack_size,1000000") |
|
|
|
endif() |
|
|
|
|
|
|
|
if (PROFILING AND (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang"))) |
|
|
|
set(CMAKE_CXX_FLAGS "-g ${CMAKE_CXX_FLAGS}") |
|
|
|
set(CMAKE_C_FLAGS "-g ${CMAKE_C_FLAGS}") |
|
|
|