Some fixes for min gw (Thanks to Xan for the patch)
This commit is contained in:
@@ -66,7 +66,7 @@ endmacro ()
|
||||
|
||||
|
||||
# set directory structures for the different platforms
|
||||
if (WIN32)
|
||||
if (CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
|
||||
set (ACG_PROJECT_DATADIR ".")
|
||||
set (ACG_PROJECT_LIBDIR "lib")
|
||||
set (ACG_PROJECT_BINDIR ".")
|
||||
|
||||
@@ -15,7 +15,7 @@ if ( WIN32 )
|
||||
set( ADDITIONAL_CMAKE_MODULE_LINKER_FLAGS )
|
||||
|
||||
if ( WINDOWS_LARGE_MEMORY_SUPPORT )
|
||||
if( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles")
|
||||
if (MSVC)
|
||||
list(APPEND ADDITIONAL_CMAKE_EXE_LINKER_FLAGS "/LARGEADDRESSAWARE" )
|
||||
list(APPEND ADDITIONAL_CMAKE_SHARED_LINKER_FLAGS "/LARGEADDRESSAWARE" )
|
||||
list(APPEND ADDITIONAL_CMAKE_MODULE_LINKER_FLAGS "/LARGEADDRESSAWARE" )
|
||||
|
||||
Reference in New Issue
Block a user