equal
deleted
inserted
replaced
62 else() |
62 else() |
63 message(FATAL_ERROR "Unknown architecture present in CMAKE_OSX_ARCHITECTURES (${CMAKE_OSX_ARCHITECTURES})") |
63 message(FATAL_ERROR "Unknown architecture present in CMAKE_OSX_ARCHITECTURES (${CMAKE_OSX_ARCHITECTURES})") |
64 endif() |
64 endif() |
65 list(LENGTH CMAKE_OSX_ARCHITECTURES num_of_archs) |
65 list(LENGTH CMAKE_OSX_ARCHITECTURES num_of_archs) |
66 if(num_of_archs GREATER 1) |
66 if(num_of_archs GREATER 1) |
67 message(${WARNING} "Only one architecture in CMAKE_OSX_ARCHITECTURES is currently supported, picking the first one") |
67 message("*** Only one architecture in CMAKE_OSX_ARCHITECTURES is supported, picking the first one ***") |
68 endif() |
68 endif() |
69 elseif(CMAKE_SIZEOF_VOID_P MATCHES "8") |
69 elseif(CMAKE_SIZEOF_VOID_P MATCHES "8") |
70 #if that variable is not set check if we are on x86_64 and if so force it, else use default |
70 #if that variable is not set check if we are on x86_64 and if so force it, else use default |
71 add_flag_prepend(CMAKE_Pascal_FLAGS -Px86_64) |
71 add_flag_prepend(CMAKE_Pascal_FLAGS -Px86_64) |
72 endif() |
72 endif() |